TiPlotComponent.OnPopupMenuDataCursor

TiPlotComponent

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

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

property OnPopupMenuDataCursor : TiPlotPopupMenuEvent;

Description

Use OnPopupMenuDataCursor to specify actions to perform whenever the context-sensitive menu (i.e. the right-click menu) is about to be opened on a DataCursor 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