RAD Studio VCL Reference
TMenu Class

TMenu is the base type for menu components such as TMainMenu and TPopupMenu.

[RootDesignerSerializerAttribute('', '', False)]
TMenu = class(TComponent);
[RootDesignerSerializerAttribute('', '', False)]
class TMenu : public TComponent;

Use TMenu as a base class when defining a component that represents a collection of menu items. TMenu introduces properties and methods to create a Windows menu that represents a set of menu items, dispatch commands associated with those menu items, and locate the help context id for any of those menu items. 


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