Link to home
Start Free TrialLog in
Avatar of westy100697
westy100697

asked on

Question for rpo / Roman ????

rpo/Roman,
          I saw your answer for MDI Child forms in dlls
(Q.10181952) and reckon it was a great answer. I just have a small follow up question for you. If I wanted to access the MDI Child form from a unit that I do some processing in
how can it be done. In your Dll code you create the forms via the functions and that works fine. I am just unable to access the form from anywhere else ie another unit or another form. I have tried to include the unit in the uses clause to no avail. I am wondering is this an inherent problem or can it be overcome.

Regards,

 WESTY :)  
ASKER CERTIFIED SOLUTION
Avatar of rpo
rpo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of westy100697
westy100697

ASKER

Roman,
      I figured it was something like that. For the moment I used procedures rather than functions to initialise the forms.

 ie MyForm := TMyForm.Create(Application)

rather than  Result := TMyForm.Create(Application) and this enabled me to access the forms everywhere.

I appreciate you getting back to me so quickly. I would of e-mailed you a question but couldn't find it at expert-exchange.

Thanks again,

WESTY :)