RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenu Class

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

Pascal
TMenu = class(TComponent);
C++
class TMenu : public TComponent;

Menus

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!