Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : GRID-SNAP attribute
 

GRID-SNAP attribute

(Graphical interfaces only)
Indicates whether widgets should snap to the grid when they are moved or resized.
Data type: LOGICAL
Access: Readable/Writeable
Applies to: FRAME widget
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.