Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling form like a object
Message
 
À
02/10/2001 16:37:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00563279
Message ID:
00563297
Vues:
26
>Hi Ben;
>
>Here we go !!
>
>
>*In the Init of the form FrmA
>
>procedure frma.init
>Public pActiveB, myotherform  && I'll not use pActiveB
>pActivB = .f.
>endproc
>
>*In the Form FrmA (command button)
>
>procedure mybuttom.click
>If type("myotherform.name")<>"C"
>   Do form .\ecran\FrmB.scx name myotherform
>Else
>   myotherform.Caption= "Allo"
>   myotherform.Show()
>   activate window (myotherform.name)
>Endif
>endproc
>
>
>CLAUDIO

Thanks CLAUDIO

I juste try it and it work fine.

Ben.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform