Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving from control to control
Message
From
06/08/1998 23:19:29
 
 
To
06/08/1998 22:00:26
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00124669
Message ID:
00124688
Views:
22
>Ok, thanks. I have tried that and I get an error that I can not SetFocus() from with in a when claus. Im testing the value of a variable and if it doesnt match I want it to setFocus to a control elsewhere on the form.
>
>
>>>I know in fpd2.6 to goto a control by program control i would use _curobj = 3 to move to the third field, how do I do this in VFP5, it says to use Object.ActiveControl.Property[ = Value]. But what property and what values do I use to goto the control I need them to. Thanks for any help in the right direction.
>>
>>If you know the control you're going to: Thisform.MyControl.Setfocus() will do it.
>>
>>HTH
>>Barbara

You need to do it from LostFocus
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform