Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NoDefault for Text box
Message
 
To
24/10/2003 12:51:03
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00842267
Message ID:
00842281
Views:
19
Why do you use LostFocus here? I believe that Valid event is more appropriate here. To remain in the box you should return 0 in Valid, otherwise .t..


>I have a text box that recieves a user input date. It checks this date against another known date. If this input date is prior to known date I display a generic message form for a few seconds with a warning message and clear the invalid Text data. However, the text box loses focus even though I have NoDefault in the lostFocus event. If I don't display the message form the text box retains the focus, but I really need the message form to display the warning.
Previous
Reply
Map
View

Click here to load this message in the networking platform