Possibly it takes time to come to Brazil. Let me know if you would not receive this evening. Anyway, the idea is to change the sequence of the forms appearances. And it is not quite clear how to do it properly in the FormSet.
What I did is:
1. In the controle add the line:
.FormA.Visible=.F. &&before
.FormB.Text1.SetFocus
2. In formB.Activate add:
this.Parent.FormA.Visible=.t.
>Hi Yuri,
>
>>I have sent the sample to you. Review your email.
>
>I don't receive any e-mail.
>Please, sent it again.
>My e-mail is
rodolfo@foxbrasil.com.br or rodolfo@computar.com.br
>
>Thanks for your help...
>
>Rodolfo
>
>>
>>>There are 3 forms (FormA, FormB e FormC) in my FormSet.
>>>
>>>I'm having problem with Enabled + Visible + SetFocus on ThisFormSet.Init
>>>
>>>Please, visit
www.foxbrasil.com.br/rodolfo/outros/formsetenglish.htm and download the file FormSet.Zip (3 Kb) and do this test:
>>>
>>>Do Form Testando_FormSet - It's Ok!
>>>Do Form Testando_FormSet With "B" - There is a problem!
>>>Do Form Testando FormSet With "C" - There is a problem!
>>>
>>>The problem is, when I use ThisFormSet.FormA.Enabled = .F., VFP put the FormA on FormB. The same thing with the FormC.
>>>
>>>How can I make my formB visible and enabled when I receive the parameters "B" on ThisFormSet.Init?
>>>
>>>Thanks for your help!
>>>
>>>Rodolfo Duarte
>>>Ribeirao Preto - Sao Paulo - Brazil