Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing a form from my menu
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Closing a form from my menu
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00997755
Message ID:
00997755
Vues:
49
i have a simple app where there are a few different forms. all i want to do is close down a form from the menu. When i run the form i use the following syntax "do form xyz name xyz"

i am trying to use the following code but i get an error on the ELSE saying "object CUSTOMER is not found"

IF _screen.ActiveForm.Name = 'Customer'
_screen.ActiveForm.release
ELSE
Customer.RELEASE
ENDIF

what should i change the ELSE to?

thanks,

n.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform