RP
Ramesh Praveen
Syncfusion Team
August 1, 2003 05:43 PM UTC
Reddy,
You could do this:
1) Override ProcessCmdKey in the parent control of the XPToolBar. If the parent is a Panel then you will have to derive a custom class from Panel, override ProcessCmdKey and use that Panel.
2) In the ProcessCmdKey override, delegate the call to the corresponding XPToolBar's ProcessCmdKey and return that value.
3) The shortcuts will now work whenever the focus is within that Panel.
Do let us know if this works and if you need more assistance.
Regards,
Praveen
AD
Administrator
Syncfusion Team
August 4, 2003 04:29 PM UTC
Praveen,
My control is derived from User control. It worked after I have overridden the ProcessCmdKey() method.
thanks,
- Reddy