Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fire some code only if change occured
Message
From
17/09/1996 21:08:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Fire some code only if change occured
Miscellaneous
Thread ID:
00008046
Message ID:
00008046
Views:
97
I have a field textbox in a grid that, if the user make some changes, I want to fire some code.

I don't want to fire that code if no change occured in the textbox. Right now, I have put the code in the Valid() event so it is fired each time.

Usually, I create a form property that contain the value of the field which can then be compared at the Valid() level with the new value of the textbox and see if changes occured.

Is there a better way to do that without having to use a form property?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform