Creating a control with borders around scrollable content

R

Rune Jacobsen

Hi,

Since noone replied to my other post, I have simplified my spec a bit in
the hope that I can adequately explain what I am trying to achieve.

For those interested, I have created a mockup here:

http://zoopsia.org/mockup.gif

A simple explanation of what you see;

Above the green is just an empty panel for now. This will eventually
contain some settings and such for what the control displays.

What is seen is a very simple calendar type application. The RED section
vertically lists groups or teams or logical units. The GREEN section
contains a "time bar", defining the time that the things you see on
screen take place. The BLUE section is a simple two dimensional map - as
you can see with the white rectangles, it shows the tasks of the
different teams at the different times.

The GREEN time bar will be scalable - It can shrink to show only one
whole hour, or blow up to show the contents of a whole week.

As you can see, there are scroll bars since most of the time (depending
on the user), the blue section will be way bigger than what can be fit
on screen at once.

If the user scrolls the vertical scroll bar, this of course means that
you should reveal other vertical parts of the BLUE section, but it also
means you have to scroll the RED section, so the team list will match
the data displayed. The GREEN section should always stay in place.

If the user scrolls horizontally, naturally the BLUE and the GREEN
sections need to scroll, while the RED stays in place.

This is something I find extremely difficult to do in Visual Studio
2003/.NET 1.1/C# - I can't seem to find a combination of layouts that
lets me do this, no matter how I divide the controls.

I would be very happy for any advice from the gurus, as this is well on
the way to driving me crazy...!

Thanks in advance,

Rune Jacobsen
 
M

Michael C

Rune Jacobsen said:
This is something I find extremely difficult to do in Visual Studio
2003/.NET 1.1/C# - I can't seem to find a combination of layouts that lets
me do this, no matter how I divide the controls.

I would be very happy for any advice from the gurus, as this is well on
the way to driving me crazy...!

Isn't this just a standard Grid control? The easiest method would be to
purchase a third party grid control. If you want to do it yourself you would
probably need to get into creating a userdrawn control which can get pretty
complicated.

Michael

PS, you have excellent taste in colours, I hope the end result looks that
good ;-)
 

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