Skip to main content

Flags (Parameter Keyword)

Modifies the user interface type (in Studio) for this parameter.

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). 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

FeedbackOpens in a new tab