Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot setfocus from valid
Message
From
14/02/2002 15:11:48
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00620209
Message ID:
00620308
Views:
11
Jim

That worked. Thanks for your help.

>James,
>
>The purpose of the Valid event is to determine if the control will be allowed to loose focus or not, the purpose of the LostFocus event is to determine what is to happen when the control loses focus. You are trying to do in the Valid what needs to be done in the LostFocus. Be sure that if you do call a SetFocus from the LostFocus you follow it wiht a NODEFAULT to prevent VFP from doing the default behavior of moving focus to the next control in the tab order.
Previous
Reply
Map
View

Click here to load this message in the networking platform