TiPlotComponent.OnPopupMenuAnnotation

TiPlotComponent

Occurs when the Popup Menu or Context-Sensitive Menu is about to be opened on an Annotation object.

type TiPlotPopupMenuEvent = procedure(Index: Integer; var Cancel: Boolean; ScreenX, ScreenY: Integer) of object;

property OnPopupMenuAnnotation : TiPlotPopupMenuEvent;

Description

Use OnPopupMenuAnnotation to specify actions to perform whenever the context-sensitive menu (i.e. the right-click menu) is about to be opened on an Annotation object. You can set the Cancel property of the event to False if you wish to cancel the display of the Popup Menu.

Contents | Index | Previous | Next