Thanks for your help, Claudio...
I already have this solution... and it works without problems...
I'm trying to put it on FormSet because I acess FormB a lot and in some cases it's slowly... If I do: ThisFormSet.FormB.Visible = .T. it's too fast! :)
Rodolfo
>HI Rodolfo;
>
>If I really got your point, you are trying to create a master form/program that can receive (or not) one user param. and them run "N" diferents forms depending on user's choise.. Ok, the master program/form needs to wait and receive some feedback from each slave form called.. If I am right all that you need is:
>
>
ON THE MASTER>
>if mychoice="A"
> Do form formA to cwreturn_data
>endif
>*..
>*..
>if mychoice="N"
> Do form formN to cwreturn_data
>endif
>if cwreturn_data="FOooOOOooo."
> * give the treatment
>endif
>
>
>
>
ON EACH SLAVES>
>properties that needs to be changed
>formN.windowtype=1 && modal
>
>
>procedure formN.unload
>return cwmydata
>
>
>
>Ps: The other engineering works fine too, although, it is more OOP
>than this one (this one is completely procedural). maybe you probarly miss something.
>
>CLAUDIO
>
>>It did not work...
>>
>>I'm sure... I can't define the focus when I'm initializing one FormSet... After this, it works perfect!
>>
>>So... I'm trying to create 3 linked forms... You said you have one better formula for it... So... tell us! :) Maybe it's the final solution! :)
>>
>>Thanks for your help...
>>
>>Rodolfo Duarte
>>Ribeirão Preto - SP - Brazil
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte