Versions Compared

Key

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

...

The Styles that can be set are outlined in the Edit Table Column Styles topic of the Programmer's Reference.

See also

Edit Table Column StylesCOLSTYLE messageDROPDOWNLIST_BY_POS messageSTYLE_BY_POS message

Examples

Code Block
******************************************************************
// Flag the first column In an edit table as a drop down column.
// The drop down will allow for the entering of data not in the
// drop down list.
posStyle = Send_Message(EditTable, "STYLE_BY_POS", 1, 0)
posStyle = bitor(posStyle, DTCS_DROPDOWNEDIT$)
posStyle = Send_Message(EditTable, "STYLE_BY_POS", 1, 0, posStyle)
 
// Establish the list of values in the drop down.
dropdownItems = "Gold" : @vm : "Silver" : @vm : "Bronze"
 
// Populate the Drop Down values In the column
dropDownList = Send_Message(EditTable, "COLDROPDOWNLIST", 1,  dropdownItems)