Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement