Slider.TickMarkStyle

From Xojo Documentation

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

New in 2019r2

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.