We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

XPMenus

Thread ID:

Created:

Updated:

Platform:

Replies:

195 Apr 24,2002 05:11 PM UTC Apr 24,2002 06:47 PM UTC WinForms 1
loading
Tags: Tools
Richard Weeks
Asked On April 24, 2002 05:11 PM UTC

How do I programaticaly add ParentBarItem(s) to an exiting Bar such as a Menu bar? I've attached a sample app that tries to accomplish this.

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;