Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Edit Table Column StylesCOLSTYLE messageCOLDROPDOWNLIST messageSTYLE_BY_POS message

 
Code Block
******************************************************************
// Create a DropDown in the Cell at Column 2, Row 5
origColStyle = Send_Message( EditTable, "STYLE_BY_POS", 2,5 )
newColStyle = bitor( origColStyle,  DTCS_DROPDOWN$ )
ColStyle = Send_Message( EditTable, "STYLE_BY_POS", 2, 5, newColStyle )
dropDownList = "Yes" : @vm : "No"
dropDown = Send_Message( EditTable, "DROPDOWNLIST_BY_POS", 2, 5, dropDownList )
 
// Create a Drop Down across Row 6
origColStyle = Send_Message(EditTable, "STYLE_BY_POS", 0,6)
newColStyle = bitor(origColStyle,  DTCS_DROPDOWN$)
ColStyle = Send_Message(EditTable, "STYLE_BY_POS", 0, 6, newColStyle)
dropDownList = "Yes" : @vm : "No" : @vm : "Meaningless"
dropDown = Send_Message( EditTable, "DROPDOWNLIST_BY_POS", 0, 6, dropDownList )
 
// Create a Drop Down in column 1
origColStyle = Send_Message(EditTable, "STYLE_BY_POS", 1, 0)
newColStyle = bitor(origColStyle,  DTCS_DROPDOWN$)
ColStyle = Send_Message(EditTable, "STYLE_BY_POS", 1, 0, newColStyle)
dropDownList = "A" : @vm : "B" : @vm : "C"
dropDown = Send_Message( EditTable, "DROPDOWNLIST_BY_POS", 1, 0, dropDownList )