PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → use escape to cancel a mandotary field
use escape to cancel a mandotary field
Débuté par Christine schokkaert, 02 déc. 2004 16:14 - 1 réponse
Posté le 02 décembre 2004 - 16:14
on a form there are mandotary fields
like code , description
When i click in the field code and want to leave without inserting something he gives me "mandotary input". Correct.
But when i do not want to insert anything and still want to leave the field, i want to use the escape button to cancel the operation.
Is this possible.
Christine
Posté le 02 décembre 2004 - 16:53
Hi Christine,
I think you better handle this validation yourself in code. Than you can capture the 'escape button' push event and act accordingly. All other validation is done in the 'on exit' event of your field.
Succes !

Filip
on a form there are mandotary fields
like code , description
When i click in the field code and want to leave without inserting something he gives me "mandotary input". Correct.
But when i do not want to insert anything and still want to leave the field, i want to use the escape button to cancel the operation.
Is this possible.
Christine