Warning: Declaration of action_plugin_keyboard::register(&$contr) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/keyboard/action.php on line 21

Warning: Declaration of action_plugin_columns::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/columns/action.php on line 0

Warning: Declaration of action_plugin_translation::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/translation/action.php on line 0

Warning: Cannot modify header information - headers already sent by (output started at /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/keyboard/action.php:21) in /var/www/u0407502/koda.darkhost.ru/wiki/inc/auth.php on line 542

Warning: Declaration of syntax_plugin_include_include::handle($match, $state, $pos, Doku_Handler &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/include/syntax/include.php on line 25

Warning: Declaration of syntax_plugin_include_include::render($format, Doku_Renderer &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/include/syntax/include.php on line 25

Warning: Declaration of syntax_plugin_include_wrap::handle($match, $state, $pos, Doku_Handler &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/include/syntax/wrap.php on line 0

Warning: Declaration of syntax_plugin_include_wrap::render($mode, Doku_Renderer &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/include/syntax/wrap.php on line 0

Warning: Declaration of syntax_plugin_htmlcomment::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/htmlcomment/syntax.php on line 0

Warning: Declaration of syntax_plugin_htmlcomment::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/htmlcomment/syntax.php on line 0

Warning: Declaration of syntax_plugin_koda::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 0

Warning: Declaration of syntax_plugin_koda::render($format, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 0

Warning: Declaration of syntax_plugin_keyboard::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/keyboard/syntax.php on line 0

Warning: Declaration of syntax_plugin_keyboard::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/keyboard/syntax.php on line 0

Warning: Cannot modify header information - headers already sent by (output started at /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/keyboard/action.php:21) in /var/www/u0407502/koda.darkhost.ru/wiki/inc/actions.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/keyboard/action.php:21) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/tpl/dokuwiki/main.php on line 12
Tab [Koda]

User Tools

Site Tools


Sidebar

<< Back


koda:en:documentation:control_tab

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/koda/syntax.php on line 81

Tab

{|class=“cboxtable”

class=“cboxcell1”
class=“cboxcell2”

Creates a tab control

See the tutorial, Creating a Tab control

#remarks_header[Properties:]#

ActivePage
Align
Color
ContextMenu
Cursor
EnabledFalse generates <color blue>GUICtrlSetState(-1, $GUI_DISABLE)</color>
Font
Left,Top
Width,Height
HintText that appears when cursor hovers over control. Generates call to <color blue>GUICtrlSetTip</color>
Images ImageList containing icons to show at tops of Pages (optional). ImageList must already exist
Name
OnClickGenerates (in Message Loop mode) a <color blue>Case</color> or (in OnEvent mode) a call to <color blue>GUISetOnEvent</color> and a skeleton event function. Double-click to right to open Events Editor
Resizing
TabOrderSequence in which controls are selected with the Tab and Shift+Tab keys. For a Form and for each Group, TabOrder starts with 0. You may prefer to use the TabOrder Visual Editor: press Ctrl+T to open it.
VisibleIf False, generates <color blue>GUICtrlSetState(-1, $GUI_HIDE)</color>

#remarks_header[Styles:]#

TCS_SCROLLOPPOSITEUnneeded tabs scroll to the opposite side of the control when a tab is selected
TCS_BOTTOMPage labels appear at the bottom of pages
TCS_FLATBUTTONSWith TCS_BUTTONS, buttons are two-dimensional
TCS_FORCEICONLEFTIcon is at left edge of page label, leaving text centered. Requires TCS_FIXEDWIDTH
TCS_FORCELABELLEFTText is at left side of page label, icon next to it. Requires TCS_FIXEDWIDTH. Implies TCS_FORCEICONLEFT
TCS_HOTTRACKPage label under cursor is highlighted. Requires TCS_BUTTONS
TCS_VERTICALPage labels appear at side of pages: on right if TCS_BOTTOM else at left
TCS_TABSPage labels appear normally
TCS_BUTTONSPage labels appear and work like buttons. Page area is usually not used. Control has no border. Do not use with TCS_SCROLLOPPOSITE
TCS_SINGLELINEWhen widths of page labels exceed width of control, show horizontal scroll bar
TCS_MULTILINEWhen widths of page labels exceed width of control, show multiple rows of page titles
TCS_RIGHTJUSTIFYPage labels widen to occupy width of control. Requires TCS_MULTILINE
TCS_FIXEDWIDTHPage labels are all the same width
TCS_RAGGEDRIGHTWidth of page labels depends on width of labels
TCS_FOCUSONBUTTONDOWNPage receives input focus on button down. Useful with TCS_BUTTONS
TCS_FOCUSNEVERPage never receives input focus
WS_TABSTOPControl can be selected with Tab and Shift+Tab
WS_HSCROLL
WS_VSCROLL
WS_VISIBLE
WS_BORDER
WS_CLIPSIBLINGS

#remarks_header[Extra Styles:]#

TCS_EX_FLATSEPARATORSShows separators between page labels. Requires TCS_BUTTONS and TCS_FLATBUTTONS
WS_EX_CLIENTEDGE
WS_EX_STATICEDGE

#remarks_header[Pages:]#

Each page has its own properties:

CaptionText displayed at the top of the page
Left, Top
Width, Height
HintText that appears when cursor hovers over control. Generates call to <color blue>GUICtrlSetTip</color>
ImageIndex
Name

#remarks_header[Remarks:]#

  • AutoIt limits the number of Tab controls on a form to one.
  • Microsoft admits that Hints can behave strangely: consider a Tab control with n pages:
With Hints on Without Hints on Hints show
Control only all Pages Control's Hint on all Pages
Page 1 Control, other Pages Page 1
Page n ControlPage n Hint on Pages 1 to n
Pages 1 and n Control and other Pages Only Pages 1 and n have Hints
Control and any Page(s) other Pages on Page(s) - other Pages don't show Control's Hint

This behavior is acknowledged in AutoIt; it may be due to a deficiency in Windows.

Koda partly overcomes this behavior. If a Page other than the first one specifies a Hint, Koda generates <color blue>GUICtrlSetTip(-1,“”)</color> for the first page.

Koda is unable to have the Hint for the control show when any of the Pages specify a Hint.

#remarks_header[Related:]#

None

koda/en/documentation/control_tab.txt · Last modified: 2014/07/10 10:48 (external edit)