Previous Next

GRID-SNAP attribute

(Graphical interfaces only)
Indicates whether widgets should snap to the grid when they are moved or resized.
Data type:
Access:
Applies to:
If the GRID-SNAP attribute is TRUE, when widgets are moved or resized they align with (snap to) the closest grid points in the frame. This alignment occurs whether or not the grid points are visible (determined by the GRID-VISIBLE attribute).
The distance between grid points (vertical and horizontal grid units) is defined by the GRID-UNIT-HEIGHT-CHARS, GRID-UNIT-HEIGHT-PIXELS, GRID-UNIT-WIDTH-CHARS, and GRID-UNIT-WIDTH-PIXELS attributes.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.