Returns the index of a menu structure entry, using the menu entry name.
|
Syntax:
|
MenuIdx(Menu Entry Name, Is Public Name?)
|
Parameters:
|
Menu Entry Name – The name of the menu in the Menu list.
Is Public Name? – Determines whether the function should relate to the first parameter as a public name. This parameter is currently not supported and if it is set to True, the function returns 0.
|
Returns:
|
The number of the menu entry.
|
Note:
|
The returned index can used to resolve a menu index for menu property expressions or to be used in the MnuAdd and MnuRemove function.
|
Exceptions:
|
This function is not supported in Web Client tasks.
|
Platform specific:
|
This function is not supported for mobile devices.
|
See also:
|
The Online and Rich Client Samples projects (program MN08 and RMN08)
|