Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help!! Returning back to the calling form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00261260
Message ID:
00261281
Vues:
28
>William,
>
>Your assumption is correct. Currently on the second form, I have the min, max, and cancel options of a screen set to False. I wanted a user to select a button that will allow them to exit the second form and return back to the calling form.
>
>I'm trying to duplicate the cancel button into a command button on the form.

Make sure the second form is modal. You can also look at the forms collection.
VFP has a _screen object that can be referenced via _screen.formcount.

Launch a couple of forms and from the command window type ? _screen.formcount, then if form 1 has a caption property of form1 you could kill it with ? _screen.forms(1).release()
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform