Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nobody is replying...
Message
From
06/10/2003 15:20:02
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00835408
Message ID:
00835508
Views:
7
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
Previous
Reply
Map
View

Click here to load this message in the networking platform