Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I compare this?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00083306
Message ID:
00083673
Vues:
24
>Hi John (fellow kiwi)
>
>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

Sarah:

Have you tried GotFocus and LostFocus instead of When/Valid? InteractiveChange method is also good for keystroke-by-keystroke testing to change properties of other objects like command buttons, etc.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform