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;
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!