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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only