General information
Category:
Coding, syntax & commands
>>InteractiveChange, by definition, means "something" about the field changed, you may have to determine "what". :-) I used this as an example of the kind of testing you may want to do. You will have to taylor you testing to your situation. You will have to set up checking for a "changed" condition for a field then test the condition in the InteractiveChange. You want to keep this as simple and streamlined as possible since InteractiveChange fires a lot. :-)<<
Bill,
because Interactive Change fires a lot, I thought about checking for a change as follows:
1. Set up a new property of the control..call it OrigVal and in GotFocus do a
this.OrigVal=this.value
2. In Lost focus , have following code:
if this.OrigVal <> this.value
ThisForm.Changed = .t.
endif
Can you see any problems with this. I would obviously have to build this into all my Base classes
Regards,
Gerard
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