Vcl.Menus.TPopupMenu.DoPopup

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoPopup(Sender: TObject); virtual;

C++

virtual void __fastcall DoPopup(System::TObject* Sender);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Menus.pas
Vcl.Menus.hpp
Vcl.Menus TPopupMenu

Description

Generates an OnPopup event.

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.

See Also