Table of Contents
Subclass of GraffitiControlGroupItem
Enumerations #
This class exposes no enumerations.
Constants #
This class exposes no constants.
Events #
This class exposes no events.
Methods #
Name | Parameters | Return Type | Description |
---|---|---|---|
Add | item as String | None | Adds a new value to the end of the list. |
AddAt | index as Integer item as String | None | Adds a new value at the specified index within the list. |
Constructor | items() as String selectedIndexes() as Integer | None | Creates a new instance of the class. |
IndexOf | item as String | Integer | Returns the index position of the specified value within the list. |
ItemAt | index as Integer | String | Returns the value at the specified index position within the list. |
LastIndex | None | Integer | Returns the index of last item within the list. |
Remove | item as String | None | Removes the specified item from the list. |
RemoveAll | None | None | Removes all items from the group. |
RemoveAt | index as Integer | None | Removes the value at the specified index position from the list. |
SelectedIndexes | None | Integer() | Returns an integer array of the currently selected items’ indexes. |
SelectedIndexes | assigns indexes as Integer() | None | Updates the currently selected items within the list. |
SelectedItems | None | String() | Returns a string array of the currently selected items. |
SelectedItems | assigns items() as String | None | Updates the currently selected items within the list. |
Properties #
Name | Type | Default Value | Description |
---|---|---|---|
MultipleSelect | Boolean | False | Determines whether the listbox supports multiple selection. |
Size | Integer | 5 | Height of the control when in a vertical ControlGroup or width of the control when in a horizontal ControlGroup. Value is in REM. |
VisibleRows | Integer | 1 | Number of rows visible within the listbox, subject to Size constraints. |