Specifying the Active Menu: Menu Property

From RAD Studio
Jump to: navigation, search

Go Up to Merging Menus


The Menu property specifies the active menu for the form. Menu-merging operations apply only to the active menu. If the form contains more than one menu component, you can change the active menu at run time by setting the Menu property in code. For example,

Form1.Menu := SecondMenu;
Form1->Menu = SecondMenu;

See Also