TickStyle Property

Gets or sets the placement of tick marks on the track bar.

object.TickStyle = [value]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and value is a value or constant as described in Settings.

Client support

Newlook Smartclient only.

Skin limitations

The track bar's TickStyle property is only partially respected when the Material skin enabled.

If TickStyle is set to TickBottomRight, TickTopLeft or TickBoth, then ticks will be displayed within the track bar itself. If TickStyle is set to TickNone then no ticks will be displayed. Refer to the Settings section below for an example of each value.

Use

This property determines the location of the tick marks relevant to the slider in the track bar.

This property is not supported in Newlook Server. In Server, the track bar control has no tick marks, regardless of what this property is set to.

Settings

The available settings for value are:

Constant

Value

Example (Classic skin)

Example (Material skin)

Description

TickBottomRight

0

 

(Default) Classic skin: Tick marks are displayed below the track bar slider

Material skin: Tick marks are displayed in the track bar slider.

TickTopLeft

1

 

Classic skin: Tick marks are displayed above the track bar slider.

Material skin: Tick marks are displayed in the track bar slider.

TickBoth

2

 

Classic skin: Display tick marks on the top and bottom.

Material skin: Tick marks are displayed in the track bar slider.

TickNone

3

 

Classic & Material skin: Do not display tick marks.

Note:

When using constants in the script editor, each constant must be prefaced by nl.

See Also

Orientation property | TickFrequency Property

Applies To

TrackBar control


© 2004-2021 looksoftware. All rights reserved.