Hi Ionut,
>
>I have a code like this one:
>
>_screen.hide
>do form form1
>
>
>now form1 is a formset containing 2 forms. At every Activate event of a form there is a GetFocus api. Somehow this function doesen't work. If i eliminate the _screen.hide it works. Why?
>
try it:
_screen.visible = .F.
do form form1
read events
return
procedure yourformset.form1.activate
show window (thisformset.form2.name) top
HTH
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20