[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Menus' (#lcl)

TPopupMenu.PopupComponent

Component to which the pop-up menu is attached.

Declaration

Source position: menus.pp line 486

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.


Version 4.0 Generated 2025-05-03 Home