Salesforce

MnuEnabl (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

MnuEnabl (Magic xpa 2.x)

Enables or disables a menu entry.

Syntax:

MnuEnabl(Menu Name,True/False)

Parameters:

Menu Name is a name entry from the Menu repository. This can be any text you like. It does not show to the end user.

True/False
is a Boolean True or False. If True, this enables the menu. If False, this disables the menu.

Returns:

True

Example:

MnuEnable('Edit','FALSE'LOG)

will cause the Edit menu item to be disabled.

MnuEnable('Edit','TRUE'LOG)

will cause the Edit menu item to be enabled.

Note:

The Menu functions search all OS Command and Menu type menu entries in all pulldown menu structures and perform the function for all entries found.

This function has no effect on Magic xpa internal events, only on User events.

Platform specific:

This function is not supported for mobile devices.

See also:

See also How Do I Hide/Reveal a Menu Entry?

The Online and Rich Client Samples projects (program EL08, MN04 REL08 and RMN04)

Reference
Attachment 
Attachment