I have an MDI form with a menu which has an F5 shortcut. When an MDIChild with an EditControl has focus, pressing F5 inserts the time/date.
How do I get only the MDI form to preview this?
I am using version 1.6.1.
ADAdministrator Syncfusion Team December 15, 2003 06:44 AM
This process involves the following steps :
1. Capture EditControl''s ContextMenu and remove F5 from the EditControl''s ShortCuts, since you do not need that functionality anymore.
2. Override ProcessCmdKey() method in the MDI parent form to capture the F5 key. This ensures that F5 ShortCut is previewed only in the MDI parent form.
I have attached a Sample_Application that shows how this can be done. Please take a look at it and let me know if you need any other information. Thanks for considering Syncfusion products.