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: 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
Toolbar [Koda]

User Tools

Site Tools


Sidebar

<< Back


koda:en:documentation:control_toolbar

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/u0407502/koda.darkhost.ru/wiki/inc/parser/handler.php on line 1427

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: 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: 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: 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

Toolbar

{|class=“cboxtable”

class=“cboxcell1”
class=“cboxcell2”

Creates an Toolbar control

See the tutorial Creating a Toolbar

#remarks_header[Properties:]#

Images
Name

#remarks_header[Styles:]#

TBSTYLE_WRAPABLEToolbar can have multiple rows of buttons
TBSTYLE_FLATButtons are two-dimensional
TBSTYLE_TRANSPARENTToolbar is transparent, but the buttons are not. Button text appears under images
WS_TABSTOPControl can be selected with Tab and Shift+Tab
WS_HSCROLL
WS_VSCROLL
WS_VISIBLE
WS_BORDER
WS_CLIPSIBLINGS

#remarks_header[Extra Styles:]#

TBSTYLE_EX_DRAWDDARROWSAllows buttons to have separate drop-down arrow. Buttons with BTNS_DROPDOWN are drawn with a drop-down arrow in a separate section, to the right of the button. If the arrow is clicked, only the arrow portion of the button will depress, and the toolbar control will send a TBN_DROPDOWN notification to prompt the script to display the dropdown menu. If the main part of the button is clicked, the toolbar control sends a WM_COMMAND message with the button's ID
TBSTYLE_EX_DOUBLEBUFFERDouble buffering detects when a toolbar has changed
WS_EX_CLIENTEDGE
WS_EX_STATICEDGE

#remarks_header[Buttons:]#

Each button has its own properties:

LeftPosition of button relative to left side of toolbar.
Name
StyleStyle of toolbutton:
tbsButton - regular toolbutton
tbsCheck - checkbutton
tbsSeparator - separator (empty space) between buttons
tbsDropdown - button with drop-down menu
The screen shot shows buttons with styles in this order.

#remarks_header[Styles:]#

BTNS_AUTOSIZEButton's width will be calculated based on the width of the text plus the image on the button, rather than being the standard width
BTNS_WHOLEDROPDOWNButton will have a drop down arrow, but not as a separate section. TBSTYLE_EX_DRAWDDARROWS is irrelevant

#remarks_header[Remarks:]#

None

#remarks_header[Related:]#

ImageList

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