Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I compare this?
Message
From
17/03/1998 16:28:02
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00083306
Message ID:
00085196
Views:
32
>This is code I put in the When and Valid clauses. I think it does what you want
>When Clause
>*//////////
>this.origvalue = this.value
>
>
>Valid Clause
>*///////////
>if this.value <> this.origvalue
>
>else
>
>endif
>
>I use it to activate save/cancel buttons, change text colour and all sorts of good stuff. I've also put it in a class so I don't have to code it every time.
>- Sarah

Gidday! (notice the change to good ol' Kiwi colloquialism?

Thanks for your view on this, my problem was that I thought that assigning the value of this to a property, created a permanent or static reference rather than a pointer to 'this'. Therefore as you have also pointed out to accurately test, you have to reference a constant ie name/value.

I always think it's kinda strange speaking to someone over the net when they are literally just round the corner

Cheers
JR
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform