Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Form in splicontainer wont resize when resizing splitcontainer !
 

Form in splicontainer wont resize when resizing splitcontainer !

Hello everyone!

I'm new to visual basic 2005 express and i need some help here. I have a main form that contains a splitcontainer whichhas the properties dock=fill andfixedpanel=panel1. The problem is that i want to open a form in panel2 that is maximized (which i have managed to do) but when i resize the main form, the form in panel2 doesn't change its size. I want the form that i have opened in panel2 to use the whole space of panel2 all the time even if i resize panel2 by dragging the main forms bottom right corner.

Any ideas?

Thanks in advanced.

Larsa  Saturday, March 17, 2007 2:58 PM

Just set theDock property of the control/form inside Panel2 to be set as Fill in the same way that you have done so for the split container itself.

Phil Wright
Free user interface controls for Windows.Forms
http://www.componentfactory.com

Philip Wright  Sunday, March 18, 2007 7:35 AM

Just set theDock property of the control/form inside Panel2 to be set as Fill in the same way that you have done so for the split container itself.

Phil Wright
Free user interface controls for Windows.Forms
http://www.componentfactory.com

Philip Wright  Sunday, March 18, 2007 7:35 AM

You can use google to search for other answers

Custom Search

More Threads

• Drag from Toolbox to form needs to add two references!
• Implement the ComboBox of the Properties Windows when hosting forms in run-time.
• TypeDescriptor.GetProperties and extenderproviders
• ByRef as fields
• Custom combobox behavior
• Inheriting from ContextMenuStrip
• ToolStripButtons disappear
• Window Form Designer Sub Properties GUI Problem?
• Alternate colors for cells in a table in RichTextBox?
• Hooking Keyboard events from the DesignSurface