Class TrackBar
Inheritance
| WinControl | TrackBar 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object |
Properties
| Max | Maximum value for the trackbar. |
| Min | Minimal value for the trackbar. |
| OnChange | Function to call when |
| Position | The current position. |
Methods
| getMax () | |
| getMin ( trackbar ) | |
| getOnChange () | |
| getPosition ( progressbar ) | |
| setMax ( max ) | |
| setMin ( trackbar, min ) | |
| setOnChange ( onchange ) | |
| setPosition ( progressbar, pos ) |
Creation
| createTrackBar ( owner ) | Creates a TrackBar class object which belongs to the given owner. |
Inheritance
- WinControl
- TrackBar 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object
Properties
- Max
-
Maximum value for the trackbar.
Type:
integer - Min
-
Minimal value for the trackbar.
Type:
integer - OnChange
-
Function to call when
Type:
function - Position
-
The current position.
Type:
integer
Methods
- getMax ()
-
Returns:
-
integer
- getMin ( trackbar )
-
Parameters:
- trackbar
Returns:
-
integer
- getOnChange ()
-
Returns:
-
function
- getPosition ( progressbar )
-
Parameters:
- progressbar
- setMax ( max )
-
Parameters:
- max integer
- setMin ( trackbar, min )
-
Parameters:
- trackbar
- min integer
- setOnChange ( onchange )
-
Parameters:
- onchange function
- setPosition ( progressbar, pos )
-
Parameters:
- progressbar
- pos integer
Creation
- createTrackBar ( owner )
-
Creates a TrackBar class object which belongs to the given owner.
Owner can be any object inherited from WinControl.
Parameters:
- owner WinControl
Returns: