Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Parameters between forms
Message
From
29/06/2000 04:16:35
 
 
To
28/06/2000 10:15:55
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00385503
Message ID:
00386317
Views:
20
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform