DesktopSlider.TickMarkStyle

From Xojo Documentation

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

Property (As TickStyles Enumeration )
aDesktopSlider.TickMarkStyle = newTickStyles EnumerationValue
or
TickStyles EnumerationValue = aDesktopSlider.TickMarkStyle

New in 2021r3

Supported for all project types and targets.

Adds tick marks to the Slider.

Notes

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.

Example

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.