Sign in Join
FPDoc Onlineexperiment

TCustomAbstractGroupedEdit.PopupMenu property

Member of TCustomAbstractGroupedEditpublicIn unit GroupedEdit

PopupMenu for the control.

Declaration

pascal
property PopupMenu: TPopupMenu read GetEditPopupMenu write SetPopupMenu;

Description

PopupMenu is a TPopupMenu property with the context menu used for the BaseEditor in the grouped edit control. Read and write access for the property value are redirected to the PopupMenu property in BaseEditor.

When a new value is assigned to PopupMenu, the context menu is also assigned to the Buddy control if it currently shares the same menu instance. Buddy is not updated if BaseEditor and Buddy use different pop-up menus.

Modified in LCL 3.0 to update the pop-up menu in Buddy when needed.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.