Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lets go for less than 26 seconds on this one...
Message
From
14/04/1999 11:44:30
 
 
To
14/04/1999 11:38:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00208214
Message ID:
00208220
Views:
27
Hmmm... Let me step back a step then, maybe there is another way than a custom property...

What I really want to do is to run some code in my valid event if the user has changed the value of the text box. (Basically, it does a lookup into another table and fills fields based off the current ssn.) But if the user doesn't make a change to the ssn, I would rather not run the code.

So, what is the best way to tell if a user has changed the value of a text box during the valid event?

>>Arrgh. Slightly more than a minute. Oh well.
>>
>>So the only way to do it is to add a custom class? Yech.
>>
>>Would it work if I put in the form's init method a call to the text box's addproperty method?
>
>It's supposed to work in VFP6 (basically I'm still with VFP5), but the normal OO design (IMHO) does not like it.
--Todd Sherman
-Wake Up! Smell the Coffee!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform