Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing the TopLevel form from toolbar button
Message
De
20/01/1999 07:56:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Closing the TopLevel form from toolbar button
Divers
Thread ID:
00177934
Message ID:
00177934
Vues:
77
How can I close the TopLevel form from the button on toolbar (In TopLevelForm)?
Mycode

*Form.Activate*
IF !THIS.IsLoadedTool
THIS.oToolbar = CREATEOBJECT('myToolbar')
THIS.oToolbar.VISIBLE = .t.
THIS.IsLoadedTool = .t.
ENDIF

*Toolbar.cmdClose*
IF TYPE('myForm')="O" AND !ISNULL(myForm)
myForm.oToolbar = .NULL.
myForm.RELEASE()
ENDIF

Toolbar is hide, but form is not released.
Thanks.
Denis
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform