User Tools

Site Tools


koda:en:documentation:control_slider

Differences

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 ======
 +{{page>​commctrl}}
 +{{page>​commstyle}}
 +{|class="​cboxtable"​
 +|-
 +|class="​cboxcell1"​|{{ ​ control_slider.gif ​ |}}
 +|class="​cboxcell2"​|**TASlider**
 +|}
  
 +Creates a slider (trackbar) control
 +
 +#​remarks_header[Properties:​]#​
 +
 +|**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>​ |
 +
 +#​remarks_header[Styles:​]#​
 +
 +|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>​ |
 +|WS_HSCROLL|{{KODA>​VAR>​WS_HSCROLL}} |
 +|WS_VSCROLL|{{KODA>​VAR>​WS_VSCROLL}} |
 +|WS_VISIBLE|{{KODA>​VAR>​WS_VISIBLE}} |
 +|WS_BORDER|{{KODA>​VAR>​WS_BORDER}} |
 +|WS_CLIPSIBLINGS|{{KODA>​VAR>​WS_CLIPSIBLINGS}} |
 +
 +#​remarks_header[Extra Styles:]#
 +
 +|WS_EX_CLIENTEDGE|{{KODA>​VAR>​WS_EX_CLIENTEDGE}}|
 +|WS_EX_STATICEDGE|{{KODA>​VAR>​WS_EX_STATICEDGE}} |
 +
 +
 +#​remarks_header[Remarks:​]#​
 +
 +To set a selection range, #include <​GuiSlider.au3>​ and call _GUICtrlSlider_SetSel.
 +
 +#​remarks_header[Related:​]#​
 +
 +None
koda/en/documentation/control_slider.txt ยท Last modified: 2014/07/10 10:48 (external edit)