473,386 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Form Autosize

Dear all,

(1) If I have two datagrid and some textboxs, labels and buttons in the
form, How can I do if there is a resize of the form and I just want only
datagrids which can auto resize to the proportional to the form size.

(2) How about in the web form?

Thanks,

Raymond
Jun 27 '08 #1
2 1409
Raymond Chiu wrote:
(1) If I have two datagrid and some textboxs, labels and buttons in the
form, How can I do if there is a resize of the form and I just want only
datagrids which can auto resize to the proportional to the form size.
Use the Anchor property on each Control to "attach" it to any of the
four edges of its container Control (or the Form itself).
(2) How about in the web form?
No idea.

HTH,
Phill W.
Jun 27 '08 #2
On May 29, 1:21 am, "Raymond Chiu" <rchiu...@yahoo.com.hkwrote:
Dear all,

(1) If I have two datagrid and some textboxs, labels and buttons in the
form, How can I do if there is a resize of the form and I just want only
datagrids which can auto resize to the proportional to the form size.

(2) How about in the web form?

Thanks,

Raymond
In a web form you'll need to use CSS styles. It's somehow more complex
and the method will vary greatly with your needs (page structure).
Jun 27 '08 #3

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

Similar topics

4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
7
by: Terry | last post by:
I have a Mainform with a Statusbar. When opening another form or doing some processing I want to display info in the Statusbar of the Mainform. I have read a lot of articles on this & have come up...
1
by: Patrick Lioi | last post by:
Label label = new Label(); label.Width = 1; label.AutoSize = true; label.Text = "A long string, requiring a width larger than 1."; //At this point, Width is still 1. What am I missing? ...
2
by: =?Utf-8?B?Qm9i?= | last post by:
In VB.Net 2003 and previous versions new labels were created with AutoSize=False. In VB.Net 2005, new labels are created with AutoSize=True. Why was it changed? Is there somewhere in VB.Net 2005...
6
by: Richard Lewis Haggard | last post by:
I have a client who foolishly insists on running my application at 120 DPI. Many of the forms that look quite acceptable in their original 96 DPI design format have problems with the form's child...
1
by: Nathan Laff | last post by:
I have a panel that I want to AutoSize with an AutoSize mode of GrowAndShrink, but I only want it to autosize vertically. Reason being I have anchors set up to a usercontrol which can resize. ...
0
by: Ryou kaihou | last post by:
Hello All, As we known, in Visual Stdio 2003 or 2005, the property of Autosize is set to True by defaut, how can I customize this and set property of Autosize to False? Any ideas? Thanks
2
by: theinvisibleGhost | last post by:
Is there any easy way of centering a label in a form or panel? I can dock, and anchor but not get my label to stay centered, short of resorting to playing with the top and left properties of the...
2
by: Peter Oliphant | last post by:
I'm developing a program at home on a Windows Vista computer. In it I create a form with a few buttons on it that fill up the form's visible area. So, I took the application to work, where I use...
3
by: zacks | last post by:
I am developing an application in VS2005. I have a form that has a PictureBox control whose purpose is to be able to plop a User Control in it. And the User Control can be one of several possible...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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,...
0
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...

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.