I want to be able to exit ANY form by pressing the 'Esc' key on my keyboard

I know that i can configure a hot key with Tools->Options and then setting a key press on action Exit.
Unfortunately, the ‘Esc’ key is not in the available key with this. Also, it means that I need to do this on ALL the Epicor forms which is really too long and it’s not even the key press that I want.

Is there any way so I can configure something somewhere to allow me to do this?

Thanks

Maybe via a windows hack of remapping ESC to send a CTRL+F4

But then every Windows program window would potentially close out on hitting the ESC key. And not all might be kind enough to ask if you really want to exit, or even save.

And do you want this just for your user account, or for all users?

I would want that for all users. I would prefer it into Epicor only since I don’t want to alter windows settings for all users if possible.

What about when someone wants to cancel what they typed in a field, which currently uses esc?

type by accident
image

after escape
image

1 Like

Well, I didn’t know that it was used for that, thanks!
Guess I’ll just go in Options->Global Settings and I’ll set the Exit function to ‘Del’ key

Not sure DEL is the best. as that is used to delete rows and objects.

Plus if someone bumps the NumLock key turing it off. the decimal NumKey become DEL

I’d personally go with ALT+BKSPC, with ALT+LeftArrow a close second.

And no Idea how to mass create the hot key assignments. They show up on the Erp.XXXDef table, but just that a personalization exists for the form. Nothing in it to indicate what the personalization is. Details might exist in the XXXChunk table, if you know how to decode the chunk.

You’re right, I had some problems trying this today, it was closing the form but I didn’t want it to. I’ll either assign it to something like you said (ALT+BKSPC) or I’ll just let it that way and users will define it manually themselves.

Thanks

Alt-F4 closes any window. The forms act as their own application, so it only closes the form that you are on.

1 Like

I recommend binding it to the Enter key, its always easily accessible.