StdCurCompAction event

Occurs when a user right-clicks a component that includes this event as part of the context (right-click) menu.

The default implementation checks for the existence of DataView actions associated with the selected component and dynamically adds those actions to the context menu when this event is generated (that is, when the user right-clicks the component).

Remarks

This event is essentially a "placeholder" event: By itself, it does nothing. At run time, when a context menu contains an item that triggers this event, the item is replaced dynamically by any DataView actions that are defined for the component from which it is called. Actions for a given component are defined using the DataView Actions Setup form.

If a form has more than one component that includes this event on the context menu, the system builds each context menu independent of the others. This means that each instance of this event potentially builds a different context menu in real time.