Table Of Contents

ListBox Class

Last Modified: February 27, 2020

Use the properties in the ListBox class to read and write the elements of a listbox.

Inheritance Hierarchy

Name Description
Items Array of items from which you can select in the control.
TopVisibleRow Row number at the top of the listbox. The number of visible items in the listbox does not limit the row number you can select for this property.
Size (Inherited from GObject) Width and height of the object in pixels.
Position (Inherited from GObject) Position of the object in terms of the left and top coordinates. The left and top coordinates are relative to the parent object, such as the owning pane of a control.
TotalBounds (Inherited from GObject) Coordinates of all sides of the control including label, caption, and other visible parts connected to the control. The coordinates are relative to the parent object, such as the owning pane of a control.
Visible (Inherited from GObject) Boolean value that determines whether to display the object.
Disabled (Inherited from Control) Boolean value that determines whether the control is enabled or disabled.
Label (Inherited from Control) Reference to the label of the control.
KeyFocus (Inherited from Control) Boolean value that determines whether the control has key focus and receives the keys pressed on the keyboard.
ToolTip (Inherited from Control) Information tip of the control.
Value (Inherited from Control) Data value of this control.
ValueSignaling (Inherited from Control) Sets the data value of the control and generates an event. This property is similar to the Value property and also generates an event as if the user had interactively changed the value of the object. Use this property only when you rely on the node to generate an event in response to the programmatic value change.

Recently Viewed Topics