ComboBox Class

Description

ComboBox is the class for controls that have both a popup list and a text field. If the user selects an item from the list, the text field is filled with that string. Alternatively, the user can type the string into the text field.

Availability

Combo boxes are available on Windows.

Inheritance

ComboBox is derived from the Control class; no classes derive from this class.

Identification of ComboBox items

Some ComboBox methods let you specify items as either INTEGERs or STRINGs, in one of these ways:

  • A STRING, which can contain the wildcard characters question mark (?), to match any single character, and asterisk (*), to match zero or more characters
  • An INTEGER that represents the numerical index (1-based) of an item in the list
  • A STRING of the form "#n", where n is the numerical index into the list

Methods and Properties

In addition to the methods and properties it inherits from AnyWin class and Control class, ComboBox has the following methods and properties: