Show form as mdi-child from another thread

F

Frank Uray

Hi again

Still having this problem, trying to explain better:
- I have a form (Frm_main) witch is mdi-container
- I have a normal windows form (Frm_child)
- Button1 on Frm_main will show Frm_child as mdi-child
- On the click event on Button1 will a thread be startet
witch is then showing the Frm_child.
- The code for showing Frm_child is implemented in a
procedure witch is called be the new thread.

How can i do this??

Best regards
Frank Uray
 
H

Herfried K. Wagner [MVP]

Frank Uray said:
Still having this problem, trying to explain better:
- I have a form (Frm_main) witch is mdi-container
- I have a normal windows form (Frm_child)
- Button1 on Frm_main will show Frm_child as mdi-child
- On the click event on Button1 will a thread be startet
witch is then showing the Frm_child.
- The code for showing Frm_child is implemented in a
procedure witch is called be the new thread.

You don't need to open a new thread...

:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top