Slider.TickStyle
From Xojo Documentation
This item was deprecated in version 2019r2. Please use Slider.TickMarkStyle as a replacement. |
Property (As TickStyles Enumeration )
aSlider.TickStyle = newTickStyles EnumerationValue
or
TickStyles EnumerationValue = aSlider.TickStyle
New in 2009r3
Supported for all project types and targets.
or
TickStyles EnumerationValue = aSlider.TickStyle
New in 2009r3
Supported for all project types and targets.
Adds tick marks to the Slider.
Notes
The values are:
The TickStyles enum has the following values:
Value | Constant |
---|---|
0 | None |
1 | TopLeft |
2 | BottomRight |
If the value is None, then there are no Tick Marks. Setting TickStyle to TopLeft places tick marks above a horizontal Slider or to the left of a vertical Slider. Setting TickStyle to BottomRight places tick marks below or to the right of the Slider.
Example
This example is in the Open event of the control. It sets the TickStyle to Bottom Right.
Me.TickStyle = Slider.TickStyles.BottomRight
See Also
TickStyles enumeration.