Creates a menu window that displays a series of options.

OptionNumber := Dialog.STRMENU(OptionString [, DefaultNumber] [, Instruction])

Parameters

OptionString

Type: Code or text constant

A comma-separated string. Each substring in OptionString denotes an option on the menu. The string can be a text constant that is enabled for multilanguage functionality. For more information, see Working with Multilanguage Functionality.

DefaultNumber

Type: Integer

Use this optional parameter to determine a default option, which is highlighted. The options are numbered 1, 2, 3, 4, and so on.

If you omit this optional parameter, the first option (1) is used as the default.

Instruction

Type: Code or text constant

Use this optional parameter to add a description to the option values.

Expand imageProperty Value/Return Value

Expand imageExample

Expand imageSee Also