Language Reference Guide : System Classes : FormField Class
 
Share this page          
FormField Class
Note:  The FormField class is used for classification only.
This class is the highest-level object for all form objects in the frame (it does not include the menu objects). This class contains much of the size and bias information associated with the field.
To access the FormField attributes for fields created in Workbench, you must use the field function. This is because the name given to the field actually represents the data associated with the field within the 4GL script. To access the field's data, use the name directly.
In contrast, to access the FormField attributes of a field created dynamically, you can reference them directly using variable names. This is because the name given to a dynamically created field represents the FormField object itself, not its associated data. To access the field's data, you must use the GetFieldValue Method and SetFieldValue Method defined for the FieldObject class.
You can set many of the attributes of FormField at runtime to modify the behavior of the frame dynamically.
Inherits From
Object Class
FieldObject Class
Inherited By
ActiveField
AnalogField
BarField
BoxTrim
ButtonField
ChoiceField
ColumnField
CompositeField
ControlButton
DisplayForm
EllipseShape
EntryField
EnumField
ExtObjField
FlexibleForm
FrameForm
FreeTrim
ImageField
ImageTrim
ListField
ListviewField
MainBar
MatrixField
OptionField
PaletteField
PopupButton
RadioField
RectangleShape
ScalarField
ScrollBarField
SegmentShape
ShapeField
SliderField
StackField
SubForm
TabBar
TabField
TabFolder
TableField
TabPage
ToggleField
TreeviewField
ViewportField
Attributes
AbsXLeft
AbsXRight
AbsYBottom
AbsYTop
AllBias
AnchorPoint
BgBitmap
BgDisplayPolicy
BgPattern
CurBias
Cursor
Gravity
HasFieldChanged
Height
IsCurField
IsReverse
IsSelected
LayerSequence
MouseDownText
MouseMoveText
OuterHeight
OuterWidth
ParentField
QueryBias
ReadBias
RequireRealField
ToolTipText
UpdateBias
User1Bias
User2Bias
User3Bias
Width
XAnchorPoint
XLeft
XRight
YAnchorPoint
Ybottom
YTop
Methods
UpdBackground