====== 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 GUICtrlSetState(-1, $GUI_DISABLE) |
|**Left,Top**|{{KODA>VAR>Left,Top}} |
|**Width,Height**|{{KODA>VAR>Width,Height}} |
|**Hint**|Text that appears when cursor hovers over control. Generates call to GUICtrlSetTip |
|**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 Up and Down 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