[How] return objects from FORM_A to FORM_B

A

Agnes

Before, I post the quesiton about"how to pass parameter between two forms",
according to those kind people who answer my question. I did it sucessfully.
Now, I face another question is that.
Form A call Form B , and then FormB need to return the object or "string" to
form A and then dispose itself.
How can Form A get the return value ??

Thanks
FromAgnes
 
E

EricJ

you could use parameters in your form a. But if you are passing and
returning a lot personnally i would use global variables in a module (quick
and dirty ;) ).

eric
 
H

Herfried K. Wagner [MVP]

* "Agnes said:
Before, I post the quesiton about"how to pass parameter between two forms",
according to those kind people who answer my question. I did it sucessfully.
Now, I face another question is that.
Form A call Form B , and then FormB need to return the object or "string" to
form A and then dispose itself.
How can Form A get the return value ??

The sample will show how to do it with a 'DateTime' variable:

<URL:http://www.google.de/[email protected]>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top