<div class="meta" robots="noindex">

</div>

Enumeration

# TickStyles

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `Slider.TickMarkStyles<slider.tickmarkstyles>` as a replacement.

</div>

## Description

Used to set the TickStyle property of a `Slider</api/deprecated/slider>` control.

## Notes

Values

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</api/deprecated/slider>` and to the left of a vertical `Slider</api/deprecated/slider>`. The value of BottomRight places the tick marks below a horizontal `Slider</api/deprecated/slider>` and to the right of a vertical one. TickStyle is a design-time only property of a `Slider</api/deprecated/slider>`.

## Sample code

This example is in the Open event of the `Slider</api/deprecated/slider>`. It sets the TickStyle to Bottom Right.

``` xojo
Me.TickStyle = Slider.TickStyles.BottomRight
```

## Compatibility

All project types on all supported operating systems.

## See also

`Slider</api/deprecated/slider>` control.
