RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.TContextPopupEvent Type

TContextPopupEvent is the function type for an OnContextPopup event.

Pascal
TContextPopupEvent = procedure (Sender: TObject; MousePos: TPoint; var Handled: Boolean) of object;
C++
(Sender: TObject; MousePos: TPoint; var Handled: Boolean) ( TContextPopupEvent)();

TContextPopupEvent has the following parameters:

Parameter 
Meaning 
Sender  
The control which generated the event.  
MousePos  
The position of the mouse when the event was generated.  
Handled  
This parameter is used to specify whether the event is handled in the user code.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!