User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

koda:en:documentation:control_slider [2014/07/10 10:48] (current)
Line 1: Line 1:
 +====== Slider ======
 +|class="​cboxcell1"​|{{ ​ control_slider.gif ​ |}}
 +Creates a slider (trackbar) control
 +|**Align**|{{KODA>​VAR>​Align}} |
 +|**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>​ |
 +|**Max**|{{KODA>​VAR>​Max}} |
 +|**Min**|{{KODA>​VAR>​Min}} |
 +|**Name**|{{KODA>​VAR>​Name}} |
 +|**OnChange**|Generates (in Message Loop mode) a <color blue>​Case</​color> ​ or (in OnEvent mode) a call to <color blue>​GUISetOnEvent</​color>​ and a skeleton event function. Double-click to right to open [[koda:​documentation:​proped_events_editor]] |
 +|**Position**|{{KODA>​VAR>​Position}} |
 +|**Resizing**|{{KODA>​VAR>​Resizing}} |
 +|**TabOrder**|Sequence in which controls are selected with the <​key>​Tab</​key>​ and <​key>​S-Tab</​key>​ keys. For a Form and for each Group, TabOrder starts with 0. You may prefer to use the [[dialog_tab_order_editor|TabOrder Visual Editor]]: press <​key>​C-t</​key>​ to open it.  |
 +|**Visible**|If False, generates <color blue>​GUICtrlSetState(-1,​ $GUI_HIDE)</​color>​ |
 +|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 <​key>​Tab</​key>​ and <​key>​S-Tab</​key>​ |
 +#​remarks_header[Extra Styles:]#
 +To set a selection range, #include <​GuiSlider.au3>​ and call _GUICtrlSlider_SetSel.
koda/en/documentation/control_slider.txt ยท Last modified: 2014/07/10 10:48 (external edit)