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.
ADAdministrator Syncfusion Team October 3, 2004 12:43 PM
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.
ADAdministrator Syncfusion Team October 4, 2004 06:47 AM
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.
ADAdministrator Syncfusion Team October 5, 2004 05:08 AM
Thanks for the update. Please let me know if you need any other information. We appreciate your continued interest in Syncfusion products.