Previous Topic

Next Topic

InputEnum - Scripted Form Method

method InputEnum (ControlName: String, Domain: String, Prompt: String[, Default: String, AllowEmpty: Boolean])

Define a Lookup control on a scripted form that allows input of an enum (Enumerated Type) from a domain.

InputEnum method syntax has these named arguments:

Parameter

Description

Control Name

Required. Name of the control. Must be a valid MaxBasic identifier.

Domain

Required. Enum domain.

Prompt

Required. Prompt text to display to left of the control.

Default

Optional. Default value to be displayed.

Allow Empty

Optional. Determines if the Lookup can be cleared after a value has been selected. Defaults to False.

See also MaxBasic InputEnum function.

See Also

ScriptedForm Object

Book Contents

Book Index