Was this helpful?
SnapToGrid Method
The SnapToGrid method snaps a field to the nearest grid point.
This method has the following syntax:
FrameExec.SnapToGrid([fieldtosnap = FormField])
This method snaps the field specified by the fieldtosnap parameter to the nearest grid point. If you do not specify a field, the system snaps all fields in the form to their nearest grid point. The GridX and GridY attributes determine the spacing between grid points.
Last modified date: 06/25/2024