Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter SeventeenApplication Integration Functions (continued)

MenuGetMenuName Function

Overview

The MenuGetMenuName function retrieves the text of a function used to display the item in a popup menu.

Syntax/Parameters

Syntax

string = MenuGetMenuName ( string code | int index );

Parameters

code

A string containing the specific code for a function (for example, “EDGAR_SUBMIT_TEST”). When code is supplied, id cannot be used.

index

An int specifying an index to the function table. When index is supplied, code cannot be used.

Return Value

Returns a string containing the menu text or empty string on failure. Use the GetLastError function to retrieve error information.

Remarks

Menu text employs the standard Windows ‘&’ underline character for specifying hot keys. Many menu strings will contain this character, for example:

Open Internet &URL

That will display as:

Open Internet URL

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic