This shows you the differences between two versions of the page.
koda:en:documentation:control_updown [2014/07/10 10:48] |
koda:en:documentation:control_updown [2014/07/10 10:48] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Updown ====== | ||
+ | {{page>commctrl}} | ||
+ | {|class="cboxtable" | ||
+ | |- | ||
+ | |class="cboxcell1"|{{ control_updown.gif |}} | ||
+ | |class="cboxcell2"|**TAUpdown** | ||
+ | |} | ||
+ | Creates an updown control | ||
+ | |||
+ | #remarks_header[Properties:]# | ||
+ | |||
+ | |**ContextMenu**|{{KODA>VAR>ContextMenu}} | | ||
+ | |**Cursor**|{{KODA>VAR>Cursor}} | | ||
+ | |**Enabled**|False generates <color blue>GUICtrlSetState(-1, $GUI_DISABLE)</color> | | ||
+ | |**Left,Top**|{{KODA>VAR>Left,Top}} | | ||
+ | |**Width,Height**|{{KODA>VAR>Width,Height}} | | ||
+ | |**Hint**|Text that appears when cursor hovers over control. Generates call to <color blue>GUICtrlSetTip</color> | | ||
+ | |**Items**|{{KODA>VAR>Items}} This will open [[proped_graphic_editor]].| | ||
+ | |**Max**|{{KODA>VAR>Max}} | | ||
+ | |**Min**|{{KODA>VAR>Min}} | | ||
+ | |**Name**|{{KODA>VAR>Name}} | | ||
+ | |**OnChange**|{{KODA>VAR>StdEvent}} | | ||
+ | |**Position**|{{KODA>VAR>Position}} | | ||
+ | |**Resizing**|{{KODA>VAR>Resizing}} | | ||
+ | |||
+ | |||
+ | #remarks_header[Styles:]# | ||
+ | |||
+ | |UDS_WRAP|Causes the counter (position) to wrap if it is incremented beyond Max or decremented beyond Min | | ||
+ | |UDS_SETBUDDYINT|Limits input control to integers | | ||
+ | |UDS_ALIGNRIGHT|Places updown control is to right of input control | | ||
+ | |UDS_ALIGNLEFT|Places updown control is to left of input control | | ||
+ | |UDS_ARROWKEYS|Causes the updown control to recognize <key>Up</key> and <key>Down</key> keys | | ||
+ | |UDS_HORZ|Causes updown control’s arrows to point left and right | | ||
+ | |UDS_NOTHOUSANDS|Prevents insertion of a thousands separator between every three decimal positions | | ||
+ | |||
+ | #remarks_header[Extra Styles:]# | ||
+ | |||
+ | None | ||
+ | |||
+ | #remarks_header[Remarks:]# | ||
+ | |||
+ | Updown will not generate any code until it is [[control_attach|attached]] to an [[control_input]] control. | ||
+ | |||
+ | #remarks_header[Related:]# | ||
+ | |||
+ | None |