Mega Code Archive

 
Categories / Delphi / VCL
 

How to Get a PopupMenuItems Parent

Title: How to Get a PopupMenuItems Parent procedure TForm1.PopupMenu1Popup(Sender:TObject); begin Label1.Caption:=PopupMenu1.PopupComponent.Name; end;