Click here to Skip to main content
15,891,409 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I dont know if it is related but i am using devexpress controls.

I have a Main form which is a devexpress Ribbon control which opens another form(Form1) as a tabbed page within the Main form. Form1 contains a gridcontrol with a gridview which has a list of objects, additionally Form1 uses a context menu with options that can be accessed with shortcut keys.

One of these options opens up a dialog form(Dialog1) which allows you to edit the object. If a shortcut key is press(e.g: Del) it will trigger the context menu of Form1.

I dont know if any one has experienced this before but i dont want the shortcut keys to trigger events in Form1 when in Dialog1.

Any assistance would be greatly appreciated.

Regards
Carl
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900