AD
Administrator
Syncfusion Team
April 24, 2002 06:47 PM UTC
Modifying the Main-Menu programatically is different from other toolbars because the Main-Menu is a merged menu (of all the MDI Children, if there is any).
This merged main-menu bar is exposed in the MainFrameBarManager and you should modify it to modify the main-menu. Modifying the original Bar will not work.
Do this in your code:
this.mainFrameBarManager1.mainMenuBar.Items.Add( edit );
The mainMenuBar field will be made a property and better documented in the final release. We apologize for the inconvenience.
-Praveen