A given combo box control's data.
Usage
Set_Property(OLECtrlEntID, "OLE.ComboList[key]", DynamicArray)
Values
DynamicArray is an @FM delimited array of strings.
Default: ""
Indices
Index | Description |
---|---|
key | The target combo box's unique control key |
Remarks
The ComboList property gets or sets the all items of a given combo box control. When you defined the combo box during the Init method, you gave it a unique key. You must pass that key in order to get or set its list. The value of this property is an @FM delimited dynamic array. You can pass in such an array to initialize the combo box or read it to get all it's current items. The items in the returned array are in the same order as they appear to the user.
Example
// Setup my Font combo box List = "" List<-1> = "Arial Black" List<-1> = "Segoe UI" List<-1> = "Tahoma" Set_Property(@Window:".OLE_RIBBON", "OLE.ComboList[COB_FONTFACE]", List) // Get the current list of font sizes List = Get_Property(@Window:".OLE_RIBBON", "OLE.ComboList[COB_FONTSIZE]")