GuiGetMenuOpts()

Retrieves a heading's caption and/or options. Can also retrieve an item's caption, accelerator, and/or options.


Synopsis

error = GuiGetMenuOpts(Specification, Options, Caption, Accelerator)


Args

Specification is the name of the REXX variable associated with the heading or item. If supplying the name directly, quote it.

Options is the name of a REXX variable that is set to the current options for the item/heading. See GuiSetMenuOpts for a listing of options. If Option is omitted, then the item/heading's options are not returned.

Caption is the name of a REXX variable that is set to the caption (text) for the item/heading. If omitted, then the caption is not returned.

Accelerator is the name of a REXX variable that is set to the accelerator for the item. (Could be an empty string if there is no accelerator assignment). If omitted, then the accelerator is not returned. Not yet implemented!


Returns

If successful, an empty string is returned. Otherwise, an error message.