RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenu.Create Constructor

Creates an instance of TMenu.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TMenu(TComponent * AOwner);

Call Create to create a menu at runtime. Menus placed on forms at design time are created automatically. Create calls the inherited Create method, then sets the initial values for the menu component, including creating an Items property. 

The AOwner parameter indicates the component (usually a form) that is responsible for managing the memory associated with the menu. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!