Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I compare this?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00083306
Message ID:
00083673
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform