This shows you the differences between two versions of the page.
— |
koda:en:documentation:control_radio [2014/07/10 10:48] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Radio ====== | ||
+ | {{page> | ||
+ | {{page> | ||
+ | {|class=" | ||
+ | |- | ||
+ | |class=" | ||
+ | |class=" | ||
+ | |} | ||
+ | Creates a radio button control | ||
+ | |||
+ | # | ||
+ | |||
+ | |**Caption**|{{KODA> | ||
+ | |**Checked**|If True, radio is checked | | ||
+ | |**Color**|{{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> | ||
+ | |**Name**|{{KODA> | ||
+ | |**OnClick**|Generates (in Message Loop mode) a <color blue> | ||
+ | |**Resizing**|{{KODA> | ||
+ | |**TabOrder**|Sequence in which controls are selected with the < | ||
+ | |**Visible**|If False, generates | ||
+ | |||
+ | # | ||
+ | |||
+ | |BS_RADIOBUTTON|Creates small circle with **Caption** to the right of it | | ||
+ | |BS_AUTORADIOBUTTON|Like BS_RADIOBUTTON but when clicked, it sets itself and resets other BS_AUTORADIOBUTTON buttons in the ControlGroup, | ||
+ | |BS_RIGHTBUTTON|Button is to right of Caption | | ||
+ | |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_PUSHLIKE| | | ||
+ | |BS_MULTILINE|Wraps text to multiple lines if text doesn' | ||
+ | |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> | ||
+ | |||
+ | # | ||
+ | |||
+ | Use [[control_ControlGroup]] to make the states of Radio controls mutually dependent | ||
+ | |||
+ | # | ||
+ | |||
+ | [[control_ControlGroup]] |