FieldObject Class Gets New Attributes and Methods
The FieldObject system class now includes four new attributes that enable you to set individual margins for a field (default settings are the current margin). For more information, see
EntryField Margins Now Adjustable (see page
EntryField Margins Now Adjustable).
BottomInnerMargin
Data Type: integer
4GL Access: RW
Defines the lower margin in pixels between the field border (if any) and the data area
LeftInnerMargin
Data Type: integer
4GL Access: RW
Defines the left margin in pixels between the field border (if any) and the data area
RightInnerMargin
Data Type: integer
4GL Access: RW
Defines the right margin in pixels between the field border (if any) and the data area
TopInnerMargin
Data Type: integer
4GL Access: RW
Defines the top margin in pixels between the field border (if any) and the data area
TaggedValues
Data Type: array of TaggedValue
4GL Access: R
Defines the tagged values for this field
The FieldObject class gets the following new methods:
FetchTaggedValue
Returns the TaggedValue associated with the supplied tag name or row number in the TaggedValues array of this field
FindTag
Returns the index of the specified tag in the TaggedValues array of the field
GetTaggedValues
Returns an array of all the TaggedValues that either have this tag or whose tags begin with the tag plus delimiter in the TaggedValues array of this field
GetTagText
Returns a string containing the text of the TaggedValue associated with the supplied tag name or row number in the TaggedValues array of this method
GetTagValue
Returns a string object containing the text value associated with the supplied tag name or row number in the TaggedValues array of the field
RemoveTaggedValue
Removes a tagged value identified by its index or tag name from the field's TaggedValues array
SetTaggedValue
Adds a tagged value to the field's TaggedValues array if the tag is not already present, or amends the TaggedValue if it is present
For more information, see the FieldObject classs in the Language Reference Guide.