Inheritance diagram for TrackBar:
Public Member Functions | |
SelectAll (void) | |
Selects all. | |
ClearSelection (void) | |
Clears the selection. | |
Properties | |
VARIANT_BOOL RW | Vertical [] |
Specifies that the control has vertical orientation. | |
LONG RW | TickMarks [] |
Specifies whether the TrackBar displays the tick marks. | |
ULONG RW | SmallChange [] |
Specifies the amount by which the TrackBar's value is changed when the user pressed the up, down, left or right button. | |
ULONG RW | LargeChange [] |
Specifies the amount by which the TrackBar's value is changed when the user pressed the page up or page down button. | |
ULONG RW | ThumbLength [] |
Specifies the size of the slider. | |
ULONG RW | TickFrequency [] |
Specifies the frequency for the tick marks. | |
VARIANT_BOOL RW | EnableSelRange [] |
Enables the selection range. | |
LONG RW | SelStart [] |
Specifies the start of the selection range. | |
LONG RW | SelEnd [] |
Specifies the end of the selection range. |
The control allows the user to select value from a range.
When the control's value changes, the OnChange event occur.
See also the method CreateTrackBar of the Frame.
Example:
o = new ActiveXObject("Scripting.WindowSystemObject") o.EnableVisualStyles = true f = o.CreateForm(0,0,0,0) f.Text = "WSO" f.ClientWidth = 320 f.ClientHeight = 80 f.CenterControl() TrackBar = f.CreateTrackBar(10,10,300,35) TrackBar.Max = 300 TrackBar.Min = 100 TrackBar.Position = 230 f.Show() o.Run()
ClearSelection | ( | void | ) |
Clears the selection.
SelectAll | ( | void | ) |
Selects all.
VARIANT_BOOL RW EnableSelRange |
Enables the selection range.
ULONG RW LargeChange |
Specifies the amount by which the TrackBar's value is changed when the user pressed the page up or page down button.
LONG RW SelEnd |
Specifies the end of the selection range.
LONG RW SelStart |
Specifies the start of the selection range.
ULONG RW SmallChange |
Specifies the amount by which the TrackBar's value is changed when the user pressed the up, down, left or right button.
ULONG RW ThumbLength |
Specifies the size of the slider.
ULONG RW TickFrequency |
Specifies the frequency for the tick marks.
If the property is 0 then the tick marks hided.
LONG RW TickMarks |
VARIANT_BOOL RW Vertical |
Specifies that the control has vertical orientation.