473,791 Members | 2,899 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating a control with borders around scrollable content

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
Jul 15 '06 #1
1 1561
"Rune Jacobsen" <rune.jacobsen@ no_spam.broadpa rk.nowrote in message
news:44******** @news.broadpark .no...
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 ;-)
Jul 15 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2420
by: Haines Brown | last post by:
This may seem a pointless question, but I'm trying work around an inconsistency between browsers. I have a template that contains a division that holds a text that sometimes exists and sometimes not. I use top and bottom borders to separate this material from its environment: .header { font-size: smaller; border-bottom: solid black thin;
7
11654
by: Matt Kruse | last post by:
This is a typical layout, but I have specific requirements. I'm trying to figure out a) if it's possible to meet the requirements and b) if so, how. +---------------+ | header | +---------------+ | body | | (scrollable) | +---------------+ | footer |
12
2685
by: Gnolen | last post by:
Hi, I am really getting crazy here! I just do not get why this happens with the borders of the td/tr! I just want a border on the bottom of the rows(or td) but I just can't do it!!! I have tried so many different ways but I just thought this would do it: td {border-bottom: #000000 1px solid;} But no! What am I doing wrong? Because I can have a border of a td or tr in FF, right?! Thankful for any help here! Table and CSS is below..
0
1469
by: Phill | last post by:
I have a scrollable control I'm working on. Some parts of the painting I want to always be in the same position like my border. But when I hit the scroll bars my border moves. I dont't understand why. Here's an example: public class ListTable : System.Windows.Forms.ScrollableControl { public ListTable() { SetStyle(ControlStyles.ResizeRedraw, true);
4
2861
by: timmy | last post by:
I have a table with a cell on the bottom right with an image to create a rounded corner effect: <table cellpadding="0" cellspacing="0" border="1"> <tr><td rowspan="2">asdfsadf</td> <td align="right" valign="top">asdfsaf</td></tr> <tr><td align="right" valign="bottom"> <img src="images/corner.gif" width="11" height="11"></td>
1
2320
by: RJN | last post by:
Hi Sorry for posting again. I have a datagrid which is put inside a div tag to make it scrollable. I need to page the datagrid. The page numbers appear at the bottom of the datagrid and has to be scrolled down completely to see the page number links. The page number should always be visible outside the scroll bar. Basically I want to create the paging links dynamically and on click of this it should fire PageIndexChanged event.
5
2160
by: Brian Henry | last post by:
Hello, I want to make a control that has a scrollable Gantt type display (not really one but will look similar to one) this is going to be custom drawn (i already have the drawing procedure completed for the overriden onpaint event) but the problem is this can be a very long scrollable viewport (part that scrolls inside the control) while the control will be relatively 800x600 in size)... i tried to do this with a panel scrolling inside...
12
3176
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without restarting the application. What I did was to create an AppDomain that loaded the plugins and everything was great, until I tried to pass something else that strings between the domains...
3
2409
by: Nathan Sokalski | last post by:
I am looking to create a multi-column list that is scrollable, kind of like a ListBox control, only I need a way to align the columns of text that I will have (I would use spaces, but because the ListBox normally uses a variable-width font, that would not work). Is there a control like the DataList (a control that uses templates and databinding) that displays the items in a scrollable manner? One idea that I had, although it sounds rather...
0
9515
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10426
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10207
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10154
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5430
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5558
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3713
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.