Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing values between forms
Message
 
À
21/01/2001 19:31:53
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00466419
Message ID:
00466434
Vues:
9
>Hello, All.
>
>I'm brand new in VB. My favourite is VFP, but I've decided that I need to know something else, too.
>
>I have a lot of questions for the VB gurus. Here is the first one:
>
>How can I pass values between forms? I'm not considering using global variables. I want to know if is a way to pass variables between forms in the following way:
>
>From the menu of a MDI form I launch a MDIChild form. I want that the MDI form to be aware of what buttons was clicked in the MDIChild form.
>
>Thank you.

One way of doing it is to create a method (public sub) inside the child form and pass parameters to it.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform