Please help with stupid IDE

L

Lloyd Sheen

Please MS fix the designer, does not work well for HTML or windows forms.

What I am trying to accomplish is a form that looks like this.

--------------------------------------------------
| Panel |
--------------------------------------------------
----------------Splitter---------------------------
| | S | |
| Panel | P | Panel |
| | L | |
--------------------------------------------------
------------------Splitter-------------------------
| |
| Panel |
---------------------------------------------------

Now all was already on the form except for bottom panel. I am now trying to
add it. No amount of to the front , to the back , docking will make this
work. I even tried to re add everything from scratch , therefore loosing
all my event handlers.

Everytime I have to make a change to a form with a splitter and the
wonderful new way to design the layout, everything goes south.

Is there a way to do this??

Lloyd Sheen
 
C

Chris Dunaway

Is there a way to do this??

Lloyd Sheen
--------------------------------------------------
| Panel1 |
--------------------------------------------------
----------------Splitter1-------------------------
| | S | |
| Panel4 | P | Panel5 |
| | L3| |
--------------------------------------------------
------------------Splitter2-----------------------
| |
| Panel2 |
--------------------------------------------------


Here's how I accomplished it (I numbered the panels in your diagram):

1. Create a New form.
2. Create Panel1 and dock to the TOP
3. Create Splitter1 and dock to the TOP
4. Create Panel2 and dock to BOTTOM
5. Create Splitter2 and dock to BOTTOM
6. Create Panel3 between the two splitters and set dock to FILL
7. Create Panel4 INSIDE Panel3 and dock to LEFT
8. Create Splitter3 INSIDE Panel3 and dock LEFT
9. Create Panel5 INSIDE Panel3 and dock FILL

The sole purpose of Panel3 is to contain Panels 4 and 5 and Splitter3

Does that help?
 
G

Guest

Just realised that I forgot the 7th step..

7) Place another panel in the middle just to the right of the middle splitter and set it to fill so that it fills the remaining gap

....so 3 splitter bars and 4 panel controls in total

Gary
 
L

Lloyd Sheen

Ok, thanks but the problem is when you have to update an existing form. I
could everytime create a new set of controls and then go back and re hook
all the events. The problem is that when you have filled the form with
controls and panels and the last panel is set to dock - fill there is no
place to put new panels or controls.

In old VB you could CTL-X all selected put in new info and then paste and
since the name were the same the events would link back up. In VS 2003 this
is not the case and any addition of splitter / panel combinations after the
original design cannot be handled without lots of problems.

Lloyd Sheen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top