Error selecting text with mouse, Forms inside tabcontrol

0

I found an elegant solution on how to work with MDI Tabbed Interface, I'm creating at runtime a tabcontrol inside my MDI form, and I'm creating a new tab for each form. of the form quoted below!

form.TopLevel = false;
superTabControlPanel.Controls.Add(form);
form.Show();
form.BringToFront();

But I've run the whole internet and tried several posts and none really worked, the form is added correctly, but when trying to select some text inside a textbox using the mouse, it just is not right, I can only select text if I removed the form borders, and I did not want to do that, thank you in advance!

    
asked by anonymous 04.09.2015 / 16:57

0 answers