Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data environment table with textbtns..
Message
 
To
30/11/1999 11:31:25
Frank Cavone
Monetary Management of Ny, Inc.
Albany, New York, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00296909
Message ID:
00297038
Views:
16
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
Map
View

Click here to load this message in the networking platform