GraffitiControlGroupListbox

View Categories

Subclass of GraffitiControlGroupItem

Enumerations #

This class exposes no enumerations.

Constants #

This class exposes no constants.

Events #

This class exposes no events.

Methods #

NameParametersReturn TypeDescription
Additem as StringNoneAdds a new value to the end of the list.
AddAtindex as Integer
item as String
NoneAdds a new value at the specified index within the list.
Constructoritems() as String
selectedIndexes() as Integer
NoneCreates a new instance of the class.
IndexOfitem as StringIntegerReturns the index position of the specified value within the list.
ItemAtindex as IntegerStringReturns the value at the specified index position within the list.
LastIndexNoneIntegerReturns the index of last item within the list.
Removeitem as StringNoneRemoves the specified item from the list.
RemoveAllNoneNoneRemoves all items from the group.
RemoveAtindex as IntegerNoneRemoves the value at the specified index position from the list.
SelectedIndexesNoneInteger()Returns an integer array of the currently selected items’ indexes.
SelectedIndexesassigns indexes as Integer()NoneUpdates the currently selected items within the list.
SelectedItemsNoneString()Returns a string array of the currently selected items.
SelectedItemsassigns items() as StringNoneUpdates the currently selected items within the list.

Properties #

NameTypeDefault ValueDescription
MultipleSelectBooleanFalseDetermines whether the listbox supports multiple selection.
SizeInteger5Height of the control when in a vertical ControlGroup or width of the control when in a horizontal ControlGroup. Value is in REM.
VisibleRowsInteger1Number of rows visible within the listbox, subject to Size constraints.