RAD Studio VCL Reference
|
TMenu is the base type for menu components such as TMainMenu and TPopupMenu.
TMenu = class(TComponent);
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.
Disabling Menu Items
Adding Images to Menu Items
Adding
Building Menus
Determining the Order of Merged Menu Items: GroupIndex Property
Editing Menu Items in the Object Inspector
Importing Resource Files
Manipulating Menu Items at Runtime
Merging Menus
Moving Menu Items
Naming Conventions for Template Menu Items and Event Handlers
Naming Menus
Naming the Menu Items
Opening the Menu Designer
Saving a Menu as a Template
Specifying Accelerator Keys and Keyboard Shortcuts
Specifying the Active Menu: Menu Property
Switching Between Menus at Design Time
Using Menu Templates
Using the Menu Designer Context Menu
Viewing the Menu
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|