Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Minimal update since 8.2 release.
8.1 version

scrollbars

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:

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 (except for the drawable control, which has explicit page-width and page-height properties like a window).

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-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Minimal update since 8.2 release.
8.1 version