General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only