Dark Bit Factory & Gravity

PROGRAMMING => C / C++ /C# => Topic started by: benny! on January 22, 2008

Title: Microsoft Visual Designer -> Panel question
Post by: benny! on January 22, 2008
Hi all,

I just started a C# project using the inbuilt
Visual Designer of Mircosofts C# Express to
create the GUI.

But how can I manage different panels ???
I group different compenents in panels. Panels
represents a "page" in my GUI. So, my idea
is if you switch from e.g. configuration to the
another "page2 (e.g. an ListBox) by changing
the visibility attribute of the panels.

However, while designing I have the problem
that the panels with their including compen-
ents are still visible (even if I set the visible
attribute to false)?

Can anyone point me to the right direction on
how to work with multiple panels with the MS
Visual Designer ?

Thanks in advance.
Title: Re: Microsoft Visual Designer -> Panel question
Post by: Jim on January 22, 2008
Why not use a Property Sheet?  That way, each panel is a page on the property sheet.

Jim
Title: Re: Microsoft Visual Designer -> Panel question
Post by: benny! on January 22, 2008
Why not use a Property Sheet?  That way, each panel is a page on the property sheet.

Jim


Property sheet ? Thanks, I willl have a look later on on that!
Title: Re: Microsoft Visual Designer -> Panel question
Post by: mind on January 22, 2008
or you can just use tabs instead.. much easier :D
Title: Re: Microsoft Visual Designer -> Panel question
Post by: benny! on January 22, 2008
Thanks for your answer.

Tabs are generally a solution. But with this project I have
one own panel which consists of tabs itself. Using another tab
bar on the upper level is not good IMHO.
Title: Re: Microsoft Visual Designer -> Panel question
Post by: benny! on January 22, 2008
I sticked to panels. I clicked around a bit within the
Visual Editor and for my needs it is enough to re-
arrange the panels by putting the one which I am
working on to the front and the others to the back-
ground.

Thanks for your answers!