Data validation usint On Exit event

PiedPiper70

Registered User.
Local time
Today, 11:54
Joined
Oct 21, 2012
Messages
115
As the title says, in a simple Username and Password screen I'm trying to use the OnExit event to run code to validate the password both for nothing entered or incorrect entry. It all works fine and I use Cancel=true to keep focus on the 'Password' field. EXCEPT if the user presses the 'Cancel' button then the above event triggers - which I don't want.

Is there a way to prevent the 'Password' field's OnExit event from being triggered by the user clicking on the 'Cancel' button

Thanks
 

Users who are viewing this thread

Back
Top Bottom