| Author: suyambu 22 Mar 2007 | Member Level: Gold | Rating: Points: 2 |
create object of mdi form in child form. from that you can access all control of mdi form and assing value
|
| Author: Dhimant Trivedi 27 Mar 2007 | Member Level: Silver | Rating: Points: 2 |
well, i think creating an instance of the mdi form will create a new instance of the mdi and that's why all the controls will be having a new instance also. the better option in my mind is that, if you don't have a security problem then you can make the control of your mdi form to be public ( by default it is private ) and then you can go on to access the control.
this way you will be accessing the same mdi form and same control in your current context.
Hope this will help...
|