RAD Studio |  |

Specifying the Active Menu: Menu Property
See Also
Collapse All

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,

Copy Code

    Form1.Menu := SecondMenu;

Copy Code

    Form1->Menu = SecondMenu;

See Also

TMenu

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!