Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nobody is replying...
Message
 
 
À
06/10/2003 11:51:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00835408
Message ID:
00835508
Vues:
8
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform