|
TASlider |
Creates a slider (trackbar) control
| Align | Design only property, does not generate code, helps with aligning controls while editing. alBottom - control moves to bottom of client area, resizes to width of client area x original height alClient - control occupies the whole of the client area alCustom - not used alLeft - control moves to left edge of client area, resizes to original width x height of client area alNone - no aligning alRight - control moves to right edge of client area, resizes to original width x height of client area alTop - control moves to top of client area, resizes to width of client area x original height |
| ContextMenu | Specifies context menu to attach to control. Create the ContextMenu first |
| Cursor | Cursor shape to display when mouse is over this control |
| Enabled | False generates GUICtrlSetState(-1, $GUI_DISABLE) |
| 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 GUICtrlSetTip |
| 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 Case or (in OnEvent mode) a call to GUISetOnEvent and a skeleton event function. Double-click to right to open Events Editor |
| 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 |
| TabOrder | Sequence in which controls are selected with the Tab and Shift+Tab keys. For a Form and for each Group, TabOrder starts with 0. You may prefer to use the TabOrder Visual Editor: press Ctrl+T to open it. |
| Visible | If False, generates GUICtrlSetState(-1, $GUI_HIDE) |
| TBS_HORZ | Track bar is horizontal |
| TBS_VERT | Track bar is vertical |
| TBS_AUTOTICKS | Adds tick marks |
| TBS_BOTTOM | Places ticks on bottom of horizontal track bar |
| TBS_TOP | Places ticks on top of horizontal track bar |
| TBS_RIGHT | Places ticks on right of vertical track bar |
| TBS_LEFT | Places ticks on left of vertical track bar |
| TBS_BOTH | Places ticks on both sides of track bar |
| TBS_NOTICKS | Places no ticks on track bar |
| TBS_NOTHUMB | Track bar has no slider |
| TBS_ENABLESELRANGE | Display a selection range (as triangles) |
| TBS_FIXEDLENGTH | Length of control remains the same even if selection range changes |
| WS_TABSTOP | Control can be selected with Tab and Shift+Tab |
| WS_HSCROLL | Control has horizontal scroll bar |
| WS_VSCROLL | Control has vertical scroll bar |
| WS_VISIBLE | Control is visible |
| WS_BORDER | Control has a thin-line border |
| WS_CLIPSIBLINGS | If this control overlaps with another, this control shows partially |
| WS_EX_CLIENTEDGE | Control has border with sunken edge |
| WS_EX_STATICEDGE | Control has a three-dimensional border |
To set a selection range, #include <GuiSlider.au3> and call _GUICtrlSlider_SetSel.
None