General information
Category:
Forms & Form designer
Hi Frank,
Normally, i do the following: create a class to your textboxes and use it at all your forms. Add at your class designer the follwing code to the GOTFOCUS event:
Public MyValue
MyValue = this.Value
At the LOSTEVENT (or InteractiveChangeEvent, depends of waht you want) event add:
If This.Value ...... && Code to validate error
Messagebox("Error....")
This.Value = MyValue && Give the last value
Release MyValue
Endif
That should work!
Cheers,
Ricardo
Previous
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