Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How simulate a keyboard entry
Message
From
06/07/1999 23:48:14
 
 
To
05/07/1999 02:21:05
Rajatkanti Bagadthey
Skynet Systems P Ltd
Kolkata, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00234295
Message ID:
00238102
Views:
19
>u can't set focus in a valid of a control
>can only do it in gotfocus or lostfocus
>i guess i u use the vb approach to of creating yr valid in lostfocus of the control.....could be a much better idea ... like make a baseclass and create a
>method as uservalid in the lostfocus
>hmmmm.... this letter's giving me ideas !!!
>(why not have 2 levels of valid for a control )

Hi Rajatkanti:

Yeah, you're right about not in the valid method. I forgot that, but what I have been able to do is have the valid invoke a custom method, like Method vOkay2Save(), which can return .T. or .F. or 0 but also can SetFocus as desired. Kinda like the best of both worlds...

HTH

Rob
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform