| Allegro CL version 6.2 Unrevised from 6.1 |
Arguments: standard-object
Returns the value of the scrollbars property of the argument.
This property is unrelated to the scrollbar controls (horizontal-scroll-bar
and vertical-scroll-bar
) but instead
refers to system-provided scrollbars for certain windows and
controls. The value can be one of:
nil
: no
scrollbars
:horizontal
: horizontal scrollbar only
:vertical
: vertical scrollbar only
t
, scrollbars in both
directions
For windows other than controls, the page-height and page-width properties control the range of the scrollbars; for controls, the range is determined by the control's contents.
A combo-box
cannot have a horizontal scrollbar, and so
:vertical
and nil
are the
only choices that appear in the inspector for this property, though t
will still work to enable the vertical scrollbar.
A single-item-list
or multi-item-list
may
have a horizontal scrollbar, but it will only appear if the multi-column-p property
is true; this is a limitation in Windows.
If a horizontal scrollbar is needed on an item-list that does not use
multiple columns,
an outline
control could be used instead, using only top-level items in the range
and turning off the draw-icons property to simulate an
item-list.
This function is not setf'able. The scrollbars of a window or dialog-item must be established with the :scrollbars initarg when it is created, or using the inspector when designing a window or widget on a form.
Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.
| Allegro CL version 6.2 Unrevised from 6.1 |