Language Reference Guide : 4. System Classes : MatrixField Class : ChildGravity Attribute
 
Share this page                  
ChildGravity Attribute
Data Type: integer
4GL Access: RW
The Child Gravity attribute defines the default alignment of each component field within its matrix field cell.
The alignment specified by this attribute is enforced for any component field whose Gravity attribute is set to FA_DEFAULT. Setting the Gravity attribute for a specific field overrides the matrix field's ChildGravity setting for that field.
Valid settings for this attribute are:
FA_DEFAULT (system default value)
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 Bias Settings.