Hi,
As top level form is always on the top level form so it is easy to change your way of thinking for implementing.
If you want to show only top level form after just click on top level form you can use visible property in activate event. But your form2(in top level form) is not an object in form1 so you should use external variable like this below. However this code is not work in VFP8 but in 6,7 is ok.
**Start.prg
External Array form1,form2
parentform="form1"
childform="form2"
do form &parentform
do form &childform && you may put this code in any command button in form1
read events
**Activate event in form1(top level form)
&childform..visible=.f.
**Command button in form1
&childform..visible=.t.
Stephen Chi
cmcpro@hanmail.net http://www.vfpworld.com
Best regards,
Stephen M. Chi