F O R · R E A L L Y · T H I N · C L I E N T S
 Home  |  Overview  |  Widgets  |  Demo  |  License  |  History 

» Component
» Label
» Button
» CheckBox
» ComboBox
» TextField
» PasswordField
» TextArea
» TabbedPane
» Panel
» Desktop
» Dialog
» SpinBox
» ProgressBar
» Slider
» SplitPane
» List
» Table
» Tree
» Separator
» MenuBar

TabbedPane
TabbedPane contains tabs and components. The first tab (has an index equal to 0) is associated with the first component. This example tabbed pane has 3 tab and 3 components (text areas), tabs are on the left, and the second component is visible.
<tabbedpane placement="left" selected="1" action="tabchanged">
  <tab text="One" icon="image.gif" />
  <textarea text="One" />
  <tab text="Two" alignment="right" />
  <textarea text="Two" />
  <tab text="Three" enabled="false" />
  <textarea text="Three" />
</tabbedpane>

Parameters
NameTypeDefaultDescription
placementchoicetop The placement for the tabs relative to the content. Possible values are: top, left, bottom, and right. The default value, if not set, is top.
selectedinteger0 The index of the currently selected tab, and the visible content (the first index is 0). Value -1 means there is no selected tab.
actionmethodnull Invokes the method when the tabbedpane has changed its selected tab index.
name, enabled, visible, tooltip, width, height, colspan, rowspan, weightx, weighty, halign, and valign parameters are similar to component


Tab
Tabs are identified in the component's list as 'tab', and components with the 'component' key.

Parameters
NameTypeDefaultDescription
mnemonicinteger-1 Specifies the underlined char and the key combination which selects the tab.
name, enabled, text, icon, and alignment parameters are similar to combobox choice

Keyboard-actions
OperationAction
Left arrow, up arrowSelects previous tab
Right arrow, down arrowSelects next tab
Tab, Shift-TabNavigate forward, backward

Copyright © 2002 Robert Bajzat - info@thinlet.com - All rights reserved.