| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 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 9.0 page.
Created 2015.5.21.
| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |