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.
Syncfusion Feedback

Different text for menu and toolbar

Thread ID:

Created:

Updated:

Platform:

Replies:

32366 Jul 28,2005 10:22 AM UTC Aug 2,2005 07:40 PM UTC Windows Forms 3
loading
Tags: Tools
Ivan Obraztsov
Asked On July 28, 2005 10:22 AM UTC

Is it possible to set different texts for one BatItem for displaying in menu and on toolbar (in ImageAndText mode)?

Administrator [Syncfusion]
Replied On July 29, 2005 06:45 PM UTC

Hi Ivan, I am afraid such a feature is not supported in the current implementation of XPMenus framework. However, as a workaround you could use two different BarItems with a common Click event handler so that the same task is done when either of them is clicked. Please refer to the test sample attached here that illustrates the same and let me know if this workd for you. We appreciate your interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Ivan Obraztsov
Replied On August 1, 2005 01:18 PM UTC

But in this case we got two same buttons in customize dialog. If I set Customize property for one of it to false, the button will hide during customization.

Administrator [Syncfusion]
Replied On August 2, 2005 07:40 PM UTC

Hi Ivan, Yes, since they are 2 separate BarItems both of them would be visible in the Customize dialog if their Customize property is true, and as mentioned by you, the BarItem whose Customize property is false will not be visible in the Customize dialog. But since you wish to treat both these BarItems as one single unit, it would be advisable to set the same value their Customize properties. Let me know if you need any other information. Regards, Guru Patwal Syncfusion, Inc.

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

;