====== COLDROPDOWNLIST message ====== ==== Description ==== Sets or retrieves the Drop Down list used within an edit table's COLUMN, a ROW, or a particular CELL. ==== Applies To ==== Edit table ==== Syntax ==== //text// = **Send_Message**( //controlID//, "COLDROPDOWNLIST", column, dropdownlist ) ==== Parameters ==== For COLDROPDOWNLIST, the Send_Message function has the following parameters. ^Parameter^Description^ |//column//|The column number to which Drop Down list should be applied.| |dropdownlist|An @vm delimited list of values| |||| ==== Remarks ==== Introduced in OpenInsight 9.0. The Styles that can be set are outlined in the [[edit_table_column_styles|Edit Table Column Styles]] topic of the Programmer's Reference. ==== See Also ==== [[edit_table_column_styles|Edit Table Column Styles]], [[colstyle_message|COLSTYLE message]], [[dropdownlist_by_pos_message|DROPDOWNLIST_BY_POS message]], [[style_by_pos_message|STYLE_BY_POS message]] ==== Examples ==== ***************************************************************************** // 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)