Was this helpful?
Gravity Attribute
Data Type: integer
4GL Access: RW
The Gravity attribute specifies the alignment of a field that is within the stack field cell or subform field cell.
Valid settings for the Gravity attribute are:
FA_DEFAULT
FA_NONE
FA_TOPLEFT
FA_TOPCENTER
FA_TOPRIGHT
FA_CENTERLEFT
FA_CENTER
FA_CENTERRIGHT
FA_BOTTOMLEFT
FA_BOTTOMCENTER
FA_BOTTOMRIGHT
Descriptions of system constant values and their numeric equivalents are listed in Field Alignment Settings for MatrixFields and StackFields.
If you set the Gravity attribute to FA_DEFAULT, OpenROAD uses the current setting of the ChildGravity attribute of the stack field or matrix field to determine the form field's alignment.
Using the Gravity attribute for field positioning is one technique for designing forms that are portable across operating systems and hardware platforms.
Last modified date: 12/20/2023