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.
Unfortunately, activation email could not send to your email. Please try again.

XPMenus Menubar and toolbar on a usercontrol?

Thread ID:

Created:

Updated:

Platform:

Replies:

68111 Sep 8,2007 02:15 AM Sep 11,2007 04:14 AM Windows Forms 3
loading
Tags: Tools
Keshav Kamat
Asked On September 8, 2007 02:15 AM

Is it possible to add Bar from a mainframemanager to a usercontrol or a panel?

Jeba S [Syncfusion]
Replied On September 8, 2007 04:58 AM

Hi Keshav,

Thank you for posting query to us.

We can add toolBar to Usercontrol or a Panel. But we can not directly add a toolbar in XPMenu framework to a control. We can workaround this by adding a form having a toolbar to a usercontrol.

Please refer to the attached sample that illustrates the same:
http://websamples.syncfusion.com/samples/Tools.Windows/F68111/main.htm

Kindly let us know if you need any further assistance.

Thank you for using Syncfusion Products.

Best Regards,
Jeba.





Keshav Kamat
Replied On September 10, 2007 01:18 AM

Thanx a lot Jeba.I was able to implement the menubar and toolbar using MainframeManager in a form n add it to a panel.However, i want to underline certain characters in the baritems when Alt key is pressed(cursor being anywhere over the mainform).Since i have added the menubars and toolbars to a panel and added the panel to a mainform I am unable to do so.can u suggest how i could go about implementing this?

Jeba S [Syncfusion]
Replied On September 11, 2007 04:14 AM

Hi Keshav,

Thank you for your update.

The characters in the BarItems will show the Underline when Alt Key is pressed when they are present inside a Form. There is no way to implement the same behavior if the Menubar is placed inside a Form/Control which is not a TopLevel control.

Kindly let us know if you need any further assistance.

Best Regards,
Jeba.


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.

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.

;