I've configured my record actions (New, Update, Save etc) to a menu and set short cut keys for them. Now I've been using Ctrl+N for new, Ctrl+U for Update... now for Cancel, it would be Ctrl-C but then that is the short cut key for Cut.
I want to set it to Escape key for Cancel, but it is not in the short cut list within the Menu Editor.
Is it possible to manually configure it I can detect when the Escape key is pressed without defining it in every text/object box??
Doh, I presume that the solution you've given is for C?
I should have stated that I'm working with Visual Basic.
Does it work with VB?
RPRamesh Praveen Syncfusion Team July 10, 2003 04:58 AM
Protected Overrides Function ProcessCmdKey(ByRef msg As Message, ByVal keyData As Keys) As Boolean
If keyData = Keys.Escape Then
Return MyBase.ProcessCmdKey( msg, keyData)