TickStyles Enumeration

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!


Used to set the TickStyle property of a Slider control.



The TickStyles enum has the following values:

Value Constant
0 None
1 TopLeft
2 BottomRight

The value of TopLeft places tick marks above a horizontal Slider and to the left of a vertical Slider. The value of BottomRight places the tick marks below a horizontal Slider and to the right of a vertical one. TickStyle is a design-time only property of a Slider.

Sample Code

This example is in the Open event of the Slider. It sets the TickStyle to Bottom Right.

Me.TickStyle = Slider.TickStyles.BottomRight

See Also

Slider control.