Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing a form opened with DO Form
Message
De
12/09/2002 18:02:32
Irv Adams
MSC Managed Care, Inc.
Floride, États-Unis
 
 
À
12/09/2002 14:37:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00699878
Message ID:
00699988
Vues:
17
Greg:

Try this; for the launch button, use:
THISFORM.Addproperty("oref","")
DO FORM Testform2 NAME THISFORM.oRef LINKED
and to release it, use what Ed said:
IF TYPE('thisform.oRef') = 'O' AND ! ISNULL(thisform.oRef)
   thisform.oRef.Release()
   thisform.oRef = NULL
ENDIF
HTH,

-Irv.


>Greetings!
>I am having a hard time figuring out how to close a form when using the "DO FORM somthing" construct. I have one form which has a button on it which loads a form with an OLE object on it which displays an avi file. What I want to do is close the form with a differnt button but the solution seems to escape me. Can someone offer a suggestion that might hemp me get arround this situation? Any help would be greatly appriciated. :-)
>Greg Roy
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform