Displaying a context menu

The context menu appears only when it has items defined for it. These can be the commands that are automatically added or the commands added by the context menu script.

The context menu automatically closes when an item is chosen. You can also close the context menu by pressing the Esc key or clicking somewhere outside of the context menu.

When a user right-clicks a field that is editable, the runtime engine will attempt to move the focus to that field. The insertion point will be placed where the user clicked. If text in the field is already selected, and the user clicks within the selected text, the selection will remain. If the user clicks outside of the selected text, the selection will be cleared and the insertion point will be placed where the user clicked.

If no field in the window has focus when the user chooses to display the context menu, such as by pressing the property key, the context menu script for the window will be run.


Documentation Feedback