Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

Programming UI with multiple panels

I have what might be a basic question. In VB6 I seem to recall a sort of "wizard designer" which facilitated the design of a multi-step process with prev/next buttones etc. The various panels were shunted off to one side to reveal the one you were designing on - all controlled by  VB6 IDE add-in.
My current application has a number of full-screen panels (not a wizard) but each switched on/off by various actions on a menu bar down the LH side of my screen. I am using VS.Net 2003.

My problem is - how can I easily accomodate all these panels (about 6 so far) on the screen, and lay out controls reliably?  At present I simply reduce/enlarge as required, but I feel this is too messy to work with, and you run into z-order problems etc etc.

Any advice on how to handle - at design time of course - these multiple panels would be appreciated.  Some panels have program-generated controls, others must be laid out at design time.

Many thanks in advance

James Stewart

0
jxstewart
Asked:
jxstewart
  • 2
1 Solution
 
YurichCommented:
hello, had the same situation and ended up using custom controls - in which case you always can modify your control, do all proper layout and etc, and then place it dynamically on your panel. Also it's no difficult to switch between different user controls.

regards
0
 
sourabhkothariCommented:
instead of panels make usercontrols.
just right click on the project and "add user control".
add them on your form dynamically and hide all the other user controls except the one you want to show.

Skot
0
 
YurichCommented:
i did mean a user control rather a custom control of course and since the answer was given, i either would split with skot, or just give it all to him...

regards,
yurich
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now