{|class=“cboxtable”
| class=“cboxcell1” |
| class=“cboxcell2” |
Creates an updown control
#remarks_header[Properties:]#
| ContextMenu | Specifies html_wikilink('control_contextmenu','context menu') to attach to control. html_wikilink('create_menu','Create the ContextMenu') first |
| Cursor | Cursor shape to display when mouse is over this control |
| Enabled | False generates <color blue>GUICtrlSetState(-1, $GUI_DISABLE)</color> |
| Left,Top | Position of control relative to its parent |
| Width,Height | Size of control in pixels |
| Hint | Text that appears when cursor hovers over control. Generates call to <color blue>GUICtrlSetTip</color> |
| Items | This property contains control items list. This will open Graphic Editor. |
| Max | Maximum possible value |
| Min | Minimum possible value |
| Name | Name of control and of the variable that is assigned its control ID in generated code. If not specified, no variable is generated |
| OnChange | Generates (in Message Loop mode) a |
| Position | Initial value |
| Resizing | Click on + to expand resize modes: DocAuto - resize and reposition according to new window size DocRight - Do not move right side DocLeft - Do not move left side DocTop - Do not move top DocBottom - Do not move bottom DocHCenter - Horizontal center remains fixed DocVCenter - Vertical center remains fixed DocWidth - Width does not change DocHeight - Height does not change |
#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 ↑ and ↓ 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 attached to an Input control.
#remarks_header[Related:]#
None