About context (shortcut) menus for components

A context menu, or shortcut menu, is a global object that defines a standard right-click menu, which displays a list of commands. Each command is associated with an event in the menu definition. An event can be either a standard event or a user-defined event.

You can associate a context menu with any component. A context menu is activated when a user right-clicks the component.

Commands on standard context menus

WinStudio provides a set of predefined context menus that present commands for launching standard events. The most commonly used commands on standard context menus include:

Menu Command Description
Add Launches the Add/Details form defined for the component and initializes the form for the insertion of a new IDO item.
Details Launches the Add/Details form defined for the component and initializes the form to the IDO item identified by the current value of the component.
Edit Grid Columns Launches the Edit Grid Column Visibility and Order dialog box for the selected grid component.
Find Launches the Find form defined for the component.
Help Displays help defined for the component.
Properties For graph components, displays the graph's Properties dialog box.

Standard context menus and their options

The options supported on some of the standard context menus include:

Standard ContextMenu Name Add Details Find Help Properties Edit Grid Columns
StdAddFind x   x x    
StdDefault       x    
StdDetails   x   x    
StdDetailsAdd x x   x    
StdDetailsAddFind x x x x    
StdDetailsFind   x x x    
StdFind     x x    
StdGraphDefault       x x  
StdGrid       x   x
StdHelp       x    
Rubriques liées