FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

move-window-into-parent

Arguments: window &key (overlap-x (width window)) (overlap-y (height window))

If window is not entirely contained within the scrollable extent of its parent, moves the window as far as necessary so that it is. This function is used by forms to prevent losing a component by accidentally dragging it completely off of the form.

overlap-x is the amount in pixels by which the window must horizontally overlap the visible interior of its parent. The default is the width of the window, to make the entire window visible within its parent if possible. A smaller positive value would make the window partly visible (so that it can be spotted by the user) without showing more of the window than necessary if it might otherwise obscure other important content in the parent.

Similarly, overlap-y is the amount in pixels by which the window must vertically overlap the visible interior of its parent. The default is the height of the window, to make the entire window visible within its parent if possible.


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.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version