| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |
Arguments: standard-object
Returns or sets with setf the value of the bottom-attachment property of the argument. This property determines which edge of the parent window the bottom edge the object will follow whenever the parent window gets resized. See also top-attachment, left-attachment, and right-attachment.
The possible values and their effects are:
:bottom
: object maintains a constant distance
between its lower edge and the lower edge of its parent window
whenever that window is resized.
:scale
: object maintains the same ratio of the
distances from the top and bottom sides of its parent window whenever
that window is resized. I.e., if the bottom edge was halfway between
the top and bottom sides of the dialog before resizing, then it is
still halfway between them after resizing.
:top
: object maintains a constant distance between
its lower edge and the upper edge of its parent window whenever that
window is resized.
A control that drops a list of choices when clicked (namely a combo-box
or dropping-outline
control) always has the same height when not showing its dropping
list, and so bottom-attachment for these
controls applies to the bottom of the dropped list of choices instead.
To keep the dropping list the same height as the user resizes the
parent window, bottom-attachment should be the
same as the top-attachment. (When both
attachments are :scale, a control normally resizes proportionally as
its parent window is resized; a dropping list is an exception since it
is typically more desirable for the list to continue to show the same
number of items than it is to prevent it from overlapping other
controls.)
See also top-attachment, left-attachment, right-attachment, track-limits and resize-window.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |