SetFocus and Form Footer

GK in the UK

Registered User.
Local time
Today, 07:39
Joined
Dec 20, 2017
Messages
281
I put my form command buttons in the footer and I'm thinking it may be a design mistake.

I like to set my forms up for fast data throughput. So I put a SetFocus in the exit event of the last field to jump to the Save and Close button, user just presses return and all is done.

Form footer also has a &Cancel button. But the SetFocus means user can never just press Alt+C to close, it has to be done twice.

Is there a fix for this ? Apart from re-working my forms ?
 
Hi. Just guessing but maybe also use the KeyDown event to check Alt keys?
 
Thank you, I think I'll probably rework my forms so I don't have to jump into the footer section
 

Users who are viewing this thread

Back
Top Bottom