Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Windows Form Panel
 

Windows Form Panel

I have my own UserControl, I have put 5 to 7 multiple panels on to it with Dock property set to TOP.
Now I want to insert a new panel between panel3 and panel4, but when I add a new panel it will automatically move to the end of the panel list(move next to last panel).

Please suggest me how can i insert a new panel between two already added panels.
Ashlesh Patel  Friday, March 13, 2009 7:01 AM
Hello Ashlesh,

You can adjust ZOrder of added panel via DocumentOutline window (MainMenu->View->OtherWindows->DocumentOutline)
Regards, Oleh -- MCPD WinDev 3.5
Oleh Svintsitskyy  Friday, March 13, 2009 6:38 PM
Remove the dock property to none and place the panels accordingly.

Set the dock property again.

Thanks, A.m.a.L
A.m.a.L - aditi.com - Think Product  Friday, March 13, 2009 7:11 AM
Hello Ashlesh,

You can adjust ZOrder of added panel via DocumentOutline window (MainMenu->View->OtherWindows->DocumentOutline)
Regards, Oleh -- MCPD WinDev 3.5
Oleh Svintsitskyy  Friday, March 13, 2009 6:38 PM
I do not think so. I have tried this solution but still not getting to resolve it.

Thanks for your reply.
Ashlesh Patel  Saturday, March 14, 2009 8:58 AM
Hi Oleh,
This is a good solution.
This has solved my issue.

Thanks.
Ashlesh Patel  Saturday, March 14, 2009 9:00 AM

You can use google to search for other answers

Custom Search

More Threads

• Raising Event with e.Cancel property
• Disable snap lines between panels in the same form (user control)
• Custom Button not showing up in Designer
• XP Style Controls
• how to create a textbox by clicking a button
• how can i use logical expression
• (URGENT)
• Drawing at design time.
• When/Where should I instantiate the control when placing on the designer
• Custom control designer cut & paste or move no InitializeNewComponent