Unit 'Menus' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TPopupMenu.PopupComponent

Component to which the pop-up menu is attached.

Declaration

Source position: menus.pp line 472

public property TPopupMenu.PopupComponent : TComponent
  read FPopupComponent
  write FPopupComponent;

Description

PopupComponent is a TComponent property which contains a reference to the component which implements the pop-up menu. It allows properties and methods in the implementor to be accessed from the menu items for the pop-up menu. Its value is must be assigned in code where the pop-up menu is created and configured.