A LavishGUI 2 tab element is a Headered Content Container element, which populates a tabcontrol. The tab element itself is a logical element, with its headerContainer being placed in the tabcontrol's Header, and its contentContainer being displayed as the tabcontrol's Content when it is the selected tab.
Defining a tab element
|Define these Event Handlers within an "eventHandlers" Object|
|onSelected||The tab is now selected in the tabcontrol|
|onDeselected||The tab is no longer selected in the tabcontrol|