List object

Event Description
List.onClick() Event occurs when the user clicks on the List
List.onShow() Event fired when the List is shown
List.onHide() Event fired when the List is hidden
List.onCreate() Event fired when List has just been created
List.onChange() Event fired when items in the List have been modified
List.onSelect() Event fired when the user selects an item in the List
List.onContext() Event fired when a right click occured on the List
List.onHover() Event fired when the user moves the mouse pointer over the List
List.onLeave() Event fired when the mouse cursor leaves the List
List.onDoubleClick() Event fired when the user double-clicks on an item in the List
List.onMouseDown() Event fired when the user presses a mouse button over the List
List.onMouseUp() Event fired when the user releases a mouse button over the List
Property Description Access Type
List.x Get/set the List's horizontal position readwrite number
List.y Get/set the List's vertical position readwrite number
List.width Get/set the List's width readwrite number
List.height Get/set the List's height readwrite number
List.count Get the count of items in the List readonly number
List.cursor Get/set the image of the mouse cursor as it hovers over the List readwrite string
List.align Align the List relative to its parent readwrite boolean
List.enabled Controls whether the List responds to mouse and other events readwrite boolean
List.visible Controls whether the List appears on screen readwrite boolean
List.parent Get the List's parent widget readonly Window | Groupbox
TabItem | Panel
List.font Get/set the List font readwrite string
List.fontstyle Get/set the List font style readwrite table
List.fontsize Get/set the List font size readwrite number
List.items Get/set the List items readwrite table
List.selected Get/set the selected List item readonly ListItem
List.style Get/set the List style readwrite string
Method Description Return value
List.constructor() List object constructor List
List.center() Centers the List on the parent widget -
List.show() Shows the List -
List.hide() Hides the List -
List.add() Add an item to the List ListItem
List.remove() Remove an item from the List -
List.clear() Remove all items from the List -
List.sort() Sort the List -
List.tofront() Brings the widget in front -
List.toback() Puts the widget to the back -