473,761 Members | 7,290 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem in resizing controls (.Net 2008).

88 New Member
Hi,
we all know how to dock or anchor controls so that they resize themselves accordingly when a form is resized. It works fine till we have rows of controls on left and right size of the form. But what if have three columns (Columns as in visual sense. I'm not talking about any column control containing other controls) of controls? For example a form having a bunch of controls in the left side, a bunch in the middle and a bunch in the right. There may be a few more bunches in the middle. Now while resizing the form, I want the controls to resize accordingly as well as change their positions to make space for the previous bunch of controls that are resizing.
I mean, while the user increases the form size horizontally, the controls of the second bunch should resize and at the same time they should move right because the controls of the first bunch are increasing horizontally too. When the user decreases the form size horizontally the same thing should occur in the reverse order.
I can manage it somehow using nested splitcontainers but that's too cumbersome. I would like to know if there's some better way to achieve it, like setting some property etc.?
Please help. Check the attached image. Please feel free to ask if my post isn't comprehensible. Regards.
Attached Images
File Type: jpg Untitled.jpg (24.6 KB, 95 views)
File Type: jpg Untitled2.jpg (21.8 KB, 80 views)
Feb 12 '11 #1
0 1063

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2700
by: Alex Hopson | last post by:
I'm using the code below to loop through some images and resize each image twice, once to create a thumbnail and once to create a small image. The page stops loading around the 38th image out of 40+. Not always the same place but it's either 38th or 39th image, which I find strange as it's not consistent. At first I thought it was a timeout problem so I added - set_time_limit(0); and ignore_user_abort (true); to prevent it timing out,...
2
13316
by: UmmagummA | last post by:
Any idea, how to dynamically resize controls on the form when, the form is resized, let say maximized? Is there any elegant, logical way to do this
5
1808
by: Pete Davis | last post by:
First of all, I'm not real experienced with HTML or ASP.NET. I'm doing my first ASP.NET app. I'm working in VS.NET, and I'm laying out my controls in HTML tables. It seems that every once in a while, VS.NET will decide it doesn't want to allow me to resize the columns by dragging them anymore. This happened once before and I somehow managed to fix it. I now have a form that I damn near completed and now it's gone into this mode. Whenever...
2
2945
by: Mustufa Baig | last post by:
Can anybody tell me how or refer me a link where I can find the client side javascript to make the positions and resizing of the controls on .aspx page independent of screen resolution. As I am using Grid layout and it uses pixel units. Thanks.
5
1021
by: Gordon | last post by:
Something strange going on at my place. The ability to move controls or resize them using CTRL,ALT,SHIFT etc does not work any longer. Anyone else seen this? Do I have to re-install VB?(NOOOOOOOOOOOOO) Thanks Gordon
2
2585
by: illegal.prime | last post by:
I'm surprised that I'm only know discovering this problem, but I suppose I've never needed to change the dimension that is opposite to the docking of the control. That is, when I've docked a control to Top, I've never needed to change its height and vice-versa. But, now I would like to do this and I'm not sure what the "right way" is to perform this. Should I just add an extra container (panel, usercontrol, etc) around the control...
5
2896
by: Bill Nguyen | last post by:
I put 4 webbrower controls on a winform. I can set the initial position of the controls during design time. however, I need to be able to allow isers to resize the windows (maximize, for example) and have the browser windows to resize accordingly. To start with, I would like teh controls remain in their own quadrant, 1, 2, 3, 4 respectively. Any help is greatly appreciated. Bill
1
2712
by: =?Utf-8?B?U3RldmUgUmFuZGFsbA==?= | last post by:
I have a form with a number of panel controls on it. I have overriden the paint event (of the panel controls) to provide custom painting. What I have done is to use the Paint event to paint the background colour of a number of panel controls to be a gradient colour. This works fine. Is there a better way?? The problem I have is that when I resize the parent form I get alot of flickering as the paint events are constantly fired. I have...
0
1706
by: Derek Hart | last post by:
I am wanting to move and/or resize controls at runtime. I have download and integrated this application: http://www.codeproject.com/KB/miscctrl/CSharpRectTracker.aspx It is the C# Rect Tracker, and works great. However, I still need to seek the ability to do a few more things. If anybody has enhanced C# Rect Tracker, and/or knows of other code, including commercial product to do the following, I would appreciate it.
0
9531
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9345
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
10115
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
9957
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
7332
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
5373
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3881
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3456
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2752
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.