Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Parameters
Message
De
22/08/2001 10:47:28
 
 
À
22/08/2001 10:27:18
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00547258
Message ID:
00547276
Vues:
16
>Hello,
>
> Is it possible to pass parameters to a form in VB 6.0? If so how is it done?
>
>Thanks
>
>Jim

There are several approaches to this. One is to declare custom properties (Property Let/Get) of your form that you would set values before showing the form. Another is using public module variables, which are not the best way because it's available to any piece of code in your project. And yet another way is to define a public Sub in your form that receives the parameters, stores them in form level variables and then shows the form.

Any one of these should work, take your pick.

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

Click here to load this message in the networking platform