getColor()
The converseLib.getColor() system function returns the current color setting defined for the EGL field name defined on the form. The contents of the field name variable is used to dynamically look up the associated form field variable at execution time. The return value matches the enumerations defined by the ColorKind enumeration.
Syntax
converseLib.getColor(textForm TextForm , fieldName string in [,occurrence int in])
returns(result ColorKind)
- textform
- The specific text form that contains the field to be dynamically looked up is on.
- fieldName
- The string variable that contains the EGL variable name of the text field that is to be dynamically looked up.
- occurrence
- The optional occurrence integer is used to indicate which array element is to be used.
- result
- A value that represents the color of the field, with values defined by the ColorKind enumeration. The result can be assigned to any integer value or an enumeration variable of type ColorKind.