Skip to content

TickAlign Property

TickAlign determines the position of the tick marks in a TrackBar object. For a horizontal TrackBar, TickAlign may be either 'Bottom' (the default), 'Top' or 'Both'. If TickAlign is 'Bottom', the ticks are drawn below the slider. If TickAlign is 'Top', the ticks are drawn above it. If TickAlign is 'Both', the ticks are drawn above and below.

For a vertical TrackBar, TickAlign may be either 'Right' (the default), 'Left', or 'Both' and similarly specifies to which side of the slider bar the ticks are drawn. TickAlign can only be set when the TrackBar is created with ⎕WC and cannot subsequently be altered using ⎕WS.

Ticks are not drawn if the value of HasTicks is 0.

Application

Objects: TrackBar