This shows you the differences between two versions of the page.
— |
koda:en:documentation:control_button [2014/07/10 10:47] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Button ====== | ||
+ | {{page> | ||
+ | {{page> | ||
+ | {|class=" | ||
+ | |- | ||
+ | |class=" | ||
+ | |class=" | ||
+ | |} | ||
+ | |||
+ | Creates a button control on the form. | ||
+ | |||
+ | # | ||
+ | |**Caption**|{{KODA> | ||
+ | |**ContextMenu**|{{KODA> | ||
+ | |**Cursor**|{{KODA> | ||
+ | |**Enabled**|False generates <color blue> | ||
+ | |**Font**|{{KODA> | ||
+ | |**Left, | ||
+ | |**Width, | ||
+ | |**Hint**|Text that appears when cursor hovers over control. Generates call to <color blue> | ||
+ | |**HotKey**|{{KODA> | ||
+ | |**Name**|{{KODA> | ||
+ | |**OnClick**|Generates (in Message Loop mode) a <color blue> | ||
+ | |**Picture**|{{KODA> | ||
+ | |**Resizing**|{{KODA> | ||
+ | |**TabOrder**|Sequence in which controls are selected with the < | ||
+ | |**Visible**|If False, generates | ||
+ | |||
+ | # | ||
+ | |||
+ | |BS_PUSHBUTTON|default style of button | | ||
+ | |BS_DEFPUSHBUTTON|Heavy black border. For dialog box, pressing < | ||
+ | |BS_PUSHBOX|Button without face and frame | | ||
+ | |BS_LEFT|Left-aligns the text, word-wrapping if BS_MULTILINE is checked | | ||
+ | |BS_RIGHT|Center-aligns text, word-wrapping if BS_MULTILINE is checked | | ||
+ | |BS_CENTER|Right-aligns text, word-wrapping if BS_MULTILINE is checked | | ||
+ | |BS_TOP|Places text at top of button | | ||
+ | |BS_BOTTOM|Places text at bottom of button | ||
+ | |BS_VCENTER|Vertically centers text in button | | ||
+ | |BS_MULTILINE|Wraps text to multiple lines if text doesn' | ||
+ | |BS_NOTIFY|Enables button to send BN_KILLFOCUS and BN_SETFOCUS notification messages to Form | | ||
+ | |BS_FLAT|Button appears two-dimensional | | ||
+ | |WS_TABSTOP|Control can be selected with < | ||
+ | |WS_HSCROLL|{{KODA> | ||
+ | |WS_VSCROLL| {{KODA> | ||
+ | |WS_BORDER|{{KODA> | ||
+ | |WS_CLIPSIBLINGS|{{KODA> | ||
+ | |||
+ | # | ||
+ | |||
+ | |WS_EX_CLIENTEDGE|{{KODA> | ||
+ | |WS_EX_STATICEDGE|{{KODA> | ||
+ | |||
+ | # | ||
+ | |||
+ | For colored buttons you can set neither pictures nor styles. This is limitation of the current Autoit coloring code implementation. | ||
+ | |||
+ | # | ||
+ | |||
+ | None | ||