From Xojo Documentation

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

Property (As TickStyles Enumeration )
aSlider.TickMarkStyle = newTickStyles EnumerationValue
TickStyles EnumerationValue = aSlider.TickMarkStyle

New in 2019r2

Supported for all project types and targets.

Adds tick marks to the Slider.


Use TickMarkStyles to set this property.

If the value is None, then there are no tick marks. Setting TickMarkStyle to TopLeft places tick marks above a horizontal Slider or to the left of a vertical Slider. Setting TickMarkStyle to BottomRight places tick marks below or to the right of the Slider.


This example is in the Initialized event of the control. It sets the TickMarkStyle to Bottom Right.

Me.TickMarkStyle = Slider.TickMarkStyles.BottomRight

See Also

TickMarkStyles enumeration.