471,075 Members | 749 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,075 software developers and data experts.

creating multiple panels

Hi,

I want to display different forms when the buttons are clicked and all
the forms are having different controls on it. So instead of adding
new windows forms to the project, i enlarged the form and used many
panels on the same form, which i think is easier to manage.

However, i am having problems. Should i need to put the panels on the
same location on the design layout? i put the panels at different
places and it doesn't get displayed when i called panel2.visible if
panel2 is at the other corner on the form (the form is where i create
all the panels).

If i put all the panels on the same location at design layout, then
the panels lay on top of one another, some panels became partially
hidden when i did this, and those staying below also doesn't get
displayed even though i have put it to visible true., and those need
not be displayed set to false.

when can i see examples of using multiple panels on one form?? Is this
a better way than creating multiple forms??
Nov 16 '05 #1
1 7308
In the case where you have the panels overlaying each other, after you set
visible to true did you try calling panel.BringToFront()?

--Liam.

"pfnus" <pf***@hotmail.com> wrote in message
news:a9**************************@posting.google.c om...
Hi,

I want to display different forms when the buttons are clicked and all
the forms are having different controls on it. So instead of adding
new windows forms to the project, i enlarged the form and used many
panels on the same form, which i think is easier to manage.

However, i am having problems. Should i need to put the panels on the
same location on the design layout? i put the panels at different
places and it doesn't get displayed when i called panel2.visible if
panel2 is at the other corner on the form (the form is where i create
all the panels).

If i put all the panels on the same location at design layout, then
the panels lay on top of one another, some panels became partially
hidden when i did this, and those staying below also doesn't get
displayed even though i have put it to visible true., and those need
not be displayed set to false.

when can i see examples of using multiple panels on one form?? Is this
a better way than creating multiple forms??

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Ron Vecchi | last post: by
3 posts views Thread by Jonas | last post: by
9 posts views Thread by Quina | last post: by
8 posts views Thread by redeagle | last post: by
4 posts views Thread by Brybot | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.