Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Parameters between forms
Message
De
29/06/2000 04:16:35
 
 
À
28/06/2000 10:15:55
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00385503
Message ID:
00386317
Vues:
22
>>I need to pass some parameters to a form that I call using the
>>frmForm.Show method. How caould I pass in and get parameters
>>to/from a form? Pls advise, thanks.
>
>Create two properties for the form that will be called. One you use as the input value and the other for the output value. The input value you set before showing the form and read the output value after the form closes. The output value is set when form processing is finished:
>
>frmCalled.InputValue = "Something"
>frmCalled.Show
>strResult = frmCalled.OutputValue
>
>Kind of a workaround, but AFAIK VB form's can't take or return values like a function.

Could you guide me a little more on how to creat Properties "InputValue"
and "OutputValue"? Should the above mentioned syntax be in one of the
Click button to start a form? Thanks alot.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform