I have an MDI form with a Public Integer Variable. It also contains an MDI child form.
Can the MDI child form access the individual instance of that Public Integer Variable associated with that specific MDI Parent Form?
I have so far been solving the problem by having an variable of the parent form inside of the child form and setting it equal to that specific instance of the parent form from inside of the parent form before activating the child form. Then, I can change the properties of the parent form from inside of the child form. However, sometimes if I'm not careful, it can result in recursive instantiation (I'm not sure exactly what to call it) that results in an endless loop of memory consumption and eventually crashes the program. I hope I'm making sense. I'm not real profficient with MDI forms, so I'm probably going about it the wrong way. Any help would be appreciated.
Can the MDI child form access the individual instance of that Public Integer Variable associated with that specific MDI Parent Form?
I have so far been solving the problem by having an variable of the parent form inside of the child form and setting it equal to that specific instance of the parent form from inside of the parent form before activating the child form. Then, I can change the properties of the parent form from inside of the child form. However, sometimes if I'm not careful, it can result in recursive instantiation (I'm not sure exactly what to call it) that results in an endless loop of memory consumption and eventually crashes the program. I hope I'm making sense. I'm not real profficient with MDI forms, so I'm probably going about it the wrong way. Any help would be appreciated.