Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SETFOCUS doesn't
Message
 
To
30/09/2004 16:07:49
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00947693
Message ID:
00947708
Views:
20
Thanks....(Slap on Head) This this works better, and was indeed what I was originally thinking... I was playing with putting in a DoDefault(), and it didn't occur to try the NODEFAULT.
>Larry,
>
>Sometimes the valid event will cause an error so I still use the lostfocus event.
>
>CASE (CTOD(THIS.VALUE) > DATE())
>	MESSAGEBOX("Error in Date: Greater than current date.",16)
>     THIS.SetFocus
>     nodefault
>endcase
>
>
>
-- Larry Keyes
Remember only You can prevent Gray Goo. Never release nanobot assembers without replication limiting code.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform