Versions Compared

Key

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

...

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.

...

Code Block
// 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]")

See Also

ComboTextComboSelPos