RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPopupMenu.DoPopup Method

Generates an OnPopup event.

Pascal
procedure DoPopup(Sender: TObject); virtual;
C++
virtual __fastcall DoPopup(TObject * Sender);

DoPopup is called automatically just before the pop-up menu appears to generate an OnPopup event. Override DoPopup in a descendant class to change the event. 

 

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