RAD Studio
ContentsIndex
PreviousUpNext
Specifying the Active Menu: Menu Property

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 runtime by setting the Menu property in code. For example,

Form1.Menu := SecondMenu;

 

Form1->Menu = SecondMenu;

TMenu

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!