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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

mainmenubar is null

Thread ID:





21809 Nov 23,2004 02:59 PM UTC Dec 2,2004 11:04 PM UTC WinForms 1
Tags: Tools
Balaji Krishnasamy
Asked On November 23, 2004 02:59 PM UTC

I have an application, whose mainmenubar property shows null. What does it mean? But it has file, view, help menus. why does the mainmenubar property show null value? I''m not able to get mainmenubar through the normal way we used to by referring to resources. I''m trying to access menu bar during runtime from the mainform. How to do that?

Administrator [Syncfusion]
Replied On December 2, 2004 11:04 PM UTC

Hi Balaji, The MainFrameBarManager.MainMenuBar property returns the main-menu XPMenus.Bar associated with the MDI parent form. Please make sure atleast one XPMenus.Bar has its BarStyle set to BarStyle.IsMainMenu in your form. Let me know if you need further assistance. Regards, Guru Patwal Syncfusion, Inc.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon