>Hello,
>
>I am using Visual FoxPro 6.0. I have two forms opened at the same time on the screen. They are not set in a Formset. Now I want the following: When I press a button on the first form, I want to set the Focus to the other one. How can I do that?
>
>Thank you in advance.
Afeir
You can also create a form set and switch between the forms with a command button.
On a command button on form one of the set you can have a button with a click event that has,
thisform.visible = .t.
thisformset.form1.visible = .t.
thisformset.form2.visible = .f.
and on the second form you can have the command button click event to have this,
thisform.visible = .t.
thisformset.form1.visible = .f.
thisformset.form2.visible = .t.
Brad.
He is there and He is not Silent.