Salesforce

How Do I Set a Default Context Menu For All Controls of a Form? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Set a Default Context Menu For All Controls of a Form? (Magic xpa 3.x)

You can create a context menu for the entire application in the Menu repository. However, you can override that and create a default menu for each form also.

Setting the default context menu for a form

Prerequisite: The menu you want to select must already exist.

  1. Go to the form properties (Alt+Enter when no control is selected).

  2. Zoom from the Context Menu field and select the menu you want to use.

  3. Alternatively, you can enter an expression that will evaluate to the context menu number at runtime, by expanding the property and zooming from the Expression line.

Now, when the user presses the right mouse button, the context menu will appear no matter where they are on that form.

See also

The Online and Rich Client Samples projects (program TS30 and RTS30)

Reference
Attachment 
Attachment