473,395 Members | 1,677 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,395 software developers and data experts.

question about resizing form

I am trying to create a form that if the form is manually resized, the
textbox will get resized proportionally to the form.

thank
Nov 21 '05 #1
4 1240
Dunkonu,

You have two posibilities the Dock and the Anchor property.

For this is in my opinion is the Anchor for this the best, just activate the
right anchor in the properties from your textbox and you will see how that
goes.

I hope this helps?

Cor

"dunkonu" <he*****@hotmail.com>
I am trying to create a form that if the form is manually resized, the
textbox will get resized proportionally to the form.

thank

Nov 21 '05 #2
Dunkonu,

You have two posibilities the Dock and the Anchor property.

For this is in my opinion is the Anchor for this the best, just activate the
right anchor in the properties from your textbox and you will see how that
goes.

I hope this helps?

Cor

"dunkonu" <he*****@hotmail.com>
I am trying to create a form that if the form is manually resized, the
textbox will get resized proportionally to the form.

thank

Nov 21 '05 #3
"dunkonu" <he*****@hotmail.com> schrieb:
I am trying to create a form that if the form is manually resized, the
textbox will get resized proportionally to the form.


Take a look at the controls' 'Anchor' and 'Dock' properties, and the form's
'Scale' property. If you are looking for implementations of layout managers
like in Java, have a look here:

Simple Layout Managers
<URL:http://www.dotnet.jku.at/projects/slm/>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #4
"dunkonu" <he*****@hotmail.com> schrieb:
I am trying to create a form that if the form is manually resized, the
textbox will get resized proportionally to the form.


Take a look at the controls' 'Anchor' and 'Dock' properties, and the form's
'Scale' property. If you are looking for implementations of layout managers
like in Java, have a look here:

Simple Layout Managers
<URL:http://www.dotnet.jku.at/projects/slm/>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #5

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

Similar topics

12
by: Mal Ice | last post by:
I am creating an initial index.htm page on which I show some disclaimers and introduction information. In the head section I have Javascript which determines the screen resolution of the client....
1
by: Terry | last post by:
I've seen several posts from people who have seen this flashing in TreeView's when resizing a form. I've noticed it in my app, but only in the child windows. For example, my main form has a...
0
by: web1110 | last post by:
Using the "Build Comment Web Pages" tool using VS 2002 THIS SET OF DOCUMENTATION COMMENTS /// <summary> /// Class CLFormManager. /// </summary> /// <remarks> /// <para> /// This class...
16
by: Naveen Mukkelli | last post by:
Hi, How can we run the app on full-screen. I mean all the controls such as, text boxes, data grids on the form would also be resized or re-located automatically when we press maximize button...
4
by: Thomas Richter | last post by:
Hi, I can't get of the black flicker when I resize my form. this = Mainform : System.Windows.Forms.Form If I set the size from 300 to 500 I see for ca 500ms some black areas. I try to solve it...
6
by: John Bowman | last post by:
Hi All, I must be missing something really obvious, so I'd appreciate someone helping me out. I have a simple Windows form that currently only has a title bar (aka the Text Property is set) and...
11
by: Sharon | last post by:
I'm writing a new control derived from UserControl. I need to get an event when the control is done resizing. I tried the Resize, SizeChanged, Move and the Layout events and I also tried to...
13
by: Martin Ho | last post by:
I know this must be trivial for many of you. But I am playing with this and can't figure it out. I have a form, on that form is one panel which has 3 textboxes, when I run my program and...
6
by: JDeats | last post by:
I have a WinForms based application written for the .NET Framework 2.0 and in this application I need to be able to be able to take some action in code when the user finishes resizing the form. ...
10
by: mishrarajesh44 | last post by:
hii all, I am facing a problem currently.. i have a script for image uploading and resizing.. the image uploading takes place properly for every size images.. but, the resizing works for...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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,...
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.