MenuPick (Create Selectable Menu Options)

The MenuPick instruction is used to create a list of selectable options that can be used when editing a MenuItem value.

Syntax

MenuPick ( Item1, Item2, Item3... )

Remarks

If a pick list of options is desired for a MenuItem, the MenuPick instruction must immediately follow the MenuItem for which the list is being generated. Each item in the list is separated by a comma. The pick list is limited to a total of 512 characters. The Items in the pick list must be constants.

MenuPick can also be used to create a custom menu item with a pick list for changing values in a constant table. To change the value of a constant in a constant table, the constant must be in the constant table and the constant name must be the first parameter in MenuPick (see example program 2). Refer to MenuRecompile for additional information.

Parameter

MenuPick Item

Enter the items to be used for the pick list for a MenuItem. Each item is separated by a comma. The pick list is limited to a total of 512 characters.

Type: Constant