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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

XPToolbar shortcuts and User Control

Thread ID:





19704 Oct 1,2004 10:56 AM UTC Oct 5,2004 10:08 AM UTC WinForms 4
Tags: Tools
Mario Cadelli
Asked On October 1, 2004 10:56 AM UTC

Hi, I''m facing a problem since the beginning of the day. I have a User Control containing - dock on the top : a XPToolBar with menu items and on some I have shortcut (like F10) - in the rest of the area of my user control, a panel (docked as Fill) with all my controls When I build the User control DLL and include it in a project containing a Form and an instance of that user control, I''m not able to use my shortcuts. I know I have to use at some point the ProcessCmdKey method, but I don''t find the right place. If possible, I would like to avoid the writing of a huge switch with all my shortcuts and the corresponding methods. Thanks Mario

Administrator [Syncfusion]
Replied On October 3, 2004 05:43 PM UTC

Hi Mario, Thanks for bringing this to our attention. The Shortcuts associated with BarItems placed on the XPToolBar does not seem to be working as expected. I have notified the development team in this regard, and we are investigating this issue. I wiil keep you updated regarding the developments. We appreciate your feedback, and thanks for your patience. Regards, Guru Patwal Syncfusion, Inc.

Administrator [Syncfusion]
Replied On October 4, 2004 11:47 AM UTC

Hi Mario, Please refer to the following KB article for information in this regard : Why doesn''t the shortcuts in a XPToolBar not work? Let me know if you need further assistance. Regards, Guru Patwal Syncfusion, Inc.

Mario Cadelli
Replied On October 5, 2004 03:47 AM UTC

Thanks Guru, I have changed some part of my code to make them work. In two words, I have add extra derived classes (one from the XPToolBar and one from the Panel). Them add code to process the shortcuts in the overloaded method ''ProcessCmdKey'' in the derived XPToolbar and add ''ProcessCmdKey'' at the Panel level and at the User Control level (that one is calling the ''ProcessCmdKey'' of the derived XPToolbar). Till now it''s working ok. Thanks for the feedback. Rgds Mario

Administrator [Syncfusion]
Replied On October 5, 2004 10:08 AM UTC

Hi Mario, Thanks for the update. Please let me know if you need any other information. We appreciate your continued interest in Syncfusion products. 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