I am prog generating menu items from user enetered strings and they have &''s in them, which unfortunately get converted to accels underbars when put into the menu, is there a style/way of stopping this on new BarItems...
ADAdministrator Syncfusion Team August 19, 2004 01:44 PM
If you wish to display an ampersand symbol ("&") in the BarItem''s Text then use double ampersand ("&&") in its position.
For example :
If you set the BarItem.Text = "Item&&", then it will be displayed as "Item&".
Please try this and let me know if you need further assistance. Thanks for your interest in Syncfusion products.
ADAdministrator Syncfusion Team August 20, 2004 04:27 AM
hmmm ot as simple as that i''ll have to check for
that it''s only a single & -> && and not && -> &&&&, ho hum, would be useful to have a style on the baritem in future release.
ADAdministrator Syncfusion Team August 20, 2004 08:37 AM
Thanks for your suggestion. Please note that this is how the .NET MenuItem.Text behaves too. Our XPMenus framework is closely modelled on the .NET MainMenu (and VS.Net''s menus), and we have maintained similar behavior for consistency purposes. However, we could consider this as a feature request for a future release of Essential Suite. We appreciate your feedback, and thanks for your continued interest in Syncfusion products.