CompSource Class Gets New Attributes and Values
The CompSource class represents components of an application. It gains the following new attribute:
TaggedValue
Data Type: array of TaggedValue
4GL Access: RW
Defines the tagged values for this component
The following methods are new:
FetchTaggedValue
Returns the TaggedValue associated with the supplied tag name or row number
FindTag
Returns the index of the first occurrence of the specified tag in the TaggedValues array of this component or—if it is a ClassSource—its superclasses
GetTaggedValues
Returns an array of all the TaggedValues that either contain this tag or whose tags begin with the tag plus a delimiter
GetTagText
Returns a string containing the text value associated with the supplied tag name or row number
GetTagValue
Returns a StringObject containing the text value associated with the supplied tag name or row number
RemoveTaggedValue
Removes a tagged value identified by its index or tag name from the component’s TaggedValues array
SetTaggedValue
Adds a tagged value to the component’s TaggedValues if the tag is not already present, or amends the TaggedValue if it is present
For more information, see the Language Reference Guide.
Last modified date: 06/25/2024