Vcl.Menus.TPopupList.Add
Delphi
procedure Add(Popup: TPopupMenu);
C++
HIDESBASE void __fastcall Add(TPopupMenu* Popup);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | TPopupList |
Description
Inserts a new popup menu at the end of the list.
Do not call the Add method. Popup menus automatically add themselves to the list when they are created.
Add increments Count and, if necessary, allocates memory by increasing the value of Capacity. When the first popup menu is added to the list, Add creates the hidden window whose handle is available as the Window property.