R
rs.franken
Hi all,
I am writing a little application. The main form presents a main menu
and within this menu there is an "options" part. This option will show
a new form, where some application settings can be made. When the user
presses on the OK button, I need the changed information in my main
form, so the code can act upon the (possible) changes made.
So what I do is: I instantiate the form, I show the form, data gets
changed, but how do I get the data back? Both forms are totally
different. I know how to pass data TO the form, but I need data FROM
the form. The only solution I know off, is to create a class for my
"set of options" and pass that object to the second form. I think there
is an easier way...
can anybody help me out here?
TIA
Richard
I am writing a little application. The main form presents a main menu
and within this menu there is an "options" part. This option will show
a new form, where some application settings can be made. When the user
presses on the OK button, I need the changed information in my main
form, so the code can act upon the (possible) changes made.
So what I do is: I instantiate the form, I show the form, data gets
changed, but how do I get the data back? Both forms are totally
different. I know how to pass data TO the form, but I need data FROM
the form. The only solution I know off, is to create a class for my
"set of options" and pass that object to the second form. I think there
is an easier way...
can anybody help me out here?
TIA
Richard