Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid Event don't fire TextBox
Message
From
28/06/2003 13:28:00
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
28/06/2003 13:14:46
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00805030
Message ID:
00805031
Views:
44
>Hi all,
>
>I have a form, the first textbox have a valid event with code, it fires at the first time i run the form, but when i save the form and then type something in the text box the valid event don't fire. The code is,
>
[Valid]
>CLASS CODE - RETURN THIS.VALIDATION()
>FORM CODE - RETURN DODEFAULT()

The Valid event is supposed to fire only if you make changes, and then leave the TextBox.

For this reason, and some others, I find it safer and better to do all validation for a record only when saving the record.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform