Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InteractiveChange event way of doing things
Message
From
04/02/1997 20:04:57
 
 
To
04/02/1997 13:11:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00019237
Message ID:
00019288
Views:
31
>I want to call a method but only if my field value is change.
>
>Right now, I was keeping the old value in a property and comparing this with the field value in the Valid() event to know if I have to call my method.
>
>I want to simplify this and use InteractiveChange() event.
>
>But, InteractiveChange() event is fire whenever the user press a key and not only when he exit the field. For example, the value is 33. So, after the first 3, the InteractiveChange() will be fire and also after the second one.
>
>How can I only have one call to my method without having to keep the value in a property?
>
>I can't use OLDVAL() and CURVAL() because OLDVAL() is the value when the user enter the form but might change that value more than one time before saving so OLDVAL() will not represent the actual value of the field.


Maybe I am missing something, but whay can't you use the LostFocus event?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform