ListBox Class

Description

ListBox is the class for list boxes.

Note: Silk Test Classic does not fully support list boxes that have items of varying heights.

Inheritance

ListBox derives from the class Control; CheckedListBox derives from the ListBox class.

Identification of ListBox Items

Some ListBox methods let you specify items as either INTEGERs or STRINGs in one of the following 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 the item.
  • A STRING of the form "#n", where n is the numerical index of the item

Methods and Properties

In addition to the methods and properties inherited from class AnyWin and class Control, the following methods and properties are also available to ListBox objects: