Was this helpful?
ClientText Attribute
Data Type: varchar(2000)
4GL Access: RW
The ClientText attribute provides a way for you to assign information about a field that is accessed at runtime. The Field Editor lets you enter a value for this field. For example, you could assign the text of a query that is to be evaluated at runtime to load the values into a list field. You could also use this attribute to assign the name of a 4GL procedure to be called at runtime to validate the field.
You can format the text in this field as you want. However, you can use the 4GL procedure named _StringParseKeyword() to return the value for a given keyword using the following format:
"keyword = value[;keyword = value;]"
For more information about using the _StringParseKeyword procedure, see the Programming Guide.
The ClientText attribute is similar to the ClientData attribute but with these important exceptions:
ClientText stores text values only, whereas the ClientData attribute stores objects.
ClientText is stored with the frame in the database or image file, unlike ClientData.
When a field is copied using the Duplicate method, OpenROAD makes a copy of the ClientText attribute for the new field, unlike ClientData.
Last modified date: 06/25/2024