Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scope of variables
Message
De
23/11/1998 09:13:37
Jody Cairns
OAO Technology Solutions
Moncton, Nouveau-Brunswick, Canada
 
 
À
22/11/1998 13:17:46
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00160318
Message ID:
00160420
Vues:
27
>I have a form (Form_A) from which I create an instance
>of Form_B and SHOW it using the Modal switch.

The usual method of returning a value from a modal form is either make the
value a public variable or property within the modal form, then call the form as such:

' show the modal form
Form1.Show vbModal, me
' get the value from the form
myvalue = form1.MyValue
' now unload the modal form
Unload Form1

In your modal form (Form1), do not UnLoad the form when the user closes it. Hide it instead.

Best,

jody
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform