Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid event
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00390471
Message ID:
00390476
Views:
8
>Why does the valid event always fire even if it's not in edit mode, or even if the user doesn't change value? Why can't the valid event fire only when the value changes?

Dodi,

The valid event (which originated in 2.x) has the purpose of validating input prior to the control losing focus (LostFocus). I suppose you could add a flag that could be set in InteractiveChange the interactive change event for whether or not the valid event code needs to be executed, but you'd still have to check for it in Valid.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform