tick-side

Generic Function

Package: common-graphics

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. :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, :left is interpreted as :top when the orientation is :horizontal and vice versa when the orientation is :vertical. Similarly, :right is interpreted as :bottom when the orientation is :horizontal.

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-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.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.