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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement