Tab object

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