Calling .Parent from a form causes textbox problem, MDI

Posted by OR1614 on Stack Overflow See other posts from Stack Overflow or by OR1614
Published on 2009-06-24T17:50:11Z Indexed on 2010/03/14 19:05 UTC
Read the original article Hit count: 520

Filed under:
|
|
|

I want to make a form contained in another form. The problem is the application is already a MDI, and you can't nest MDI's. If I do childFrm.Parent = parentForm some controls behave oddly. For example, if you click on the text in the textbox, usually the text cursor appears where you clicked, but it doesn't, it just goes to the end of the text.

Any suggestions?

Thanks,

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET