Returns or sets the style (or positioning) of the tick marks displayed on the Slider control.
Syntax
object.TickStyle [= number]
The TickStyle property syntax has these parts:
| Part | Description |
| object | An object expression that evaluates to a Slider control. |
| number | A constant or integer that specifies the TickStyle property, as described in Settings. |
Settings
The settings for number are:
| Constant | Value | Description |
| sldBottomRight | 0 | (Default) Bottom/Right. Tick marks are positioned along the bottom of the Slider if the control is oriented horizontally, or along the right side if it is oriented vertically. |
| sldTopLeft | 1 | Top/Left. Tick marks are positioned along the top of the Slider if the control is oriented horizontally, or along the left side if it is oriented vertically. |
| sldBoth | 2 | Both. Tick marks are positioned on both sides or top and bottom of the Slider. |
| sldNoTicks | 3 | None. No tick marks appear on the Slider. |