PDA

Click to See Complete Forum and Search --> : Gaining Acces to another dynamically loaded form *resolved*


Colonel Klink
Sep 10th, 2003, 08:12 AM
say i had 3 forms... frm1, frm2, frm3... and inside frm1 i load another form.... frm2 using:

frm2 frm = new frm2;
frm.show();

now, how can i find frm2... from frm3 and change properties on frm2 from frm3?

each form has its name as it's tag

i hope i made sense :)

Lethal
Sep 10th, 2003, 08:33 AM
You could create a FormManager (static members) class that is responsible for creating and managing all of your forms. For instance, when a form is created, a reference is stored in a hashtable.