Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version


Arguments: trackbar

Returns the value of the tick-side property of the argument. The possible values are :left and :top (which, as we explain below, are equivalent), :right and :bottom (also equivalent), :both, and :none.

A trackbar can be oriented horizontally or vertically. Tick marks provide a scale for the trackbar. Therefore :left and :right are appropriate for a vertical orientation while :top and :bottom are appropriate for a horizontal orientation. However, to avoid errors when the orientation is changed, if :left is specified for a horizontal trackbar, it is interpreted to mean :top, and :right is interpreted to mean :bottom. Similarly, if :top or :bottom is specified for a vertical trackbar, it is interpreted as :left or :right respectively.

The trackbar pointer points toward the side with the ticks. If there are ticks on both sides, the pointer does not have a point (it is squared on both sides. If there are no ticks, the pointer points right or down.

The tick-frequency property determines the spacing of tick marks. See also tick-position.

The tick-side property may not be changed on an existing control, and must instead be specified with the inspector when designing a control (using a form) or with the :tick-side initarg of make-instance. (It can be changed using the inspector when designing a form but not for a running control, either in the IDE or in an application.)

tick-side is a property of the trackbar class.

GTK Note

This property is not supported by the simple GTK trackbar widget, where it will have no effect.

Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version