Flags
Usage
To modify the user interface type (in Studio) for this parameter, use the following syntax:
Parameter name As parameter_type [ Flags = flags ] = value;
Where flags is one of the following:
-
ENUM — The parameter is one of the values specified by the Constraint keyword (a comma-separated list). When you subclass the class that includes this parameter, the Inspector will provide a drop-down list of these values.
-
LIST — The parameter value is a string consisting of a comma-separated list of items.
Note that EDIT, EMPTY, and SYS are not used.
Details
Modifies the user interface type (in Studio) for the parameter. Studio uses this type to provide input validation for the parameter within the Inspector. The class compiler ignores this keyword.
Default
If you omit this keyword, Studio permits only a single value for the parameter (and does not provide a drop-down list of choices).
See Also
-
“Parameter Definitions” in this book
-
“Defining and Referring to Class Parameters” in Using Caché Objects
-
“Introduction to Compiler Keywords” in Using Caché Objects