Vertically center a checkbox in an edittable (OpenInsight 32-bit)
At 13 FEB 2013 09:10:08AM Hank Huizinga wrote:
We have an edit table with DTCS_MULTILINE$ style. One of the columns has the DTCS_CHECKBOX$ style. There is a DTCS_CHECKBOXCENTER$ style to horizontally center the checkbox. Is there anyway to vertically center the checkbox.
OpenInsight 9.3.2.
Thanks,
Hank
At 13 FEB 2013 12:24PM Brad Haughn wrote:
I imagine you're doing something already with the RTI Styles something like:
column = columns<J>
posStyle = Send_Message(EditTable, "COLSTYLE", column)
origStyle = posStyle
posStyle = bitor(posStyle, DTCS_CHECKBOX$)
posStyle = bitor(posStyle, DTCS_CHECKBOXCENTER$)
Call Send_Message(EditTable, "COLSTYLE", column, posStyle)
what you need is to add a DTCS_VALIGNCENTER$ call as well such as:
posStyle = bitor(posStyle, DTCS_VALIGNCENTER$)
Brad