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

resize textbox

I have installed framework 1.1. and SP 1 on my computer.
I include a textbox to my form but it can only be resized horisontally and
not vertically. What is wrong? (It works fine on other components like
buttons, labels...)
I use Windows XP

Jul 21 '05 #1
1 1831
Hi Ankan,

You can only resize the width as a TextBox by default is meant for a single horizontal line.
Setting the TextBox' Multiline property to true will allow you to resize the height.

--
Happy coding!
Morten Wennevik [C# MVP]
Jul 21 '05 #2

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

Similar topics

2
by: Tamir Khason | last post by:
I want to resize my textbox base on the text in it. Ways: 1) MeasureText - quite wrong 2) Detect VScroll - BUT HOW? 3)..... Please advice -- Tamir Khason
1
by: al | last post by:
Greetings, I included a UserControl (UC)on webpage. It works fine except when I change document direction to 'rtl', UC doesn't resize with the rest of document. It just disappears behinde rest...
3
by: kemal asad | last post by:
i have a vb project with vs.net i added a textbox to my form but i can not resize it in the designer view. what's going on? anything i should be checking? Thanks. Kemal
1
by: Ankan | last post by:
I have installed framework 1.1. and SP 1 on my computer. I include a textbox to my form but it can only be resized horisontally and not vertically. What is wrong? (It works fine on other components...
3
by: Sharon | last post by:
On VS 2003 I have on a form textbox and 3 buttons , the buttons are aligned and keep the same line , I want the Gui to keep the same ratio when resizing the form Say 90% textbox and 10%...
1
by: ramhog | last post by:
Hello all, I am trying to resize a textbox to exactly fit the contents. The method I am using gets it close but it is just a little bit too small. Could someone tell me where I am going wrong...
2
by: avanti | last post by:
Hi, I have a multiline textbox in my application. It starts out as a single line textbox. I want it to increase in height to accomodate another line at runtime if the user input exceeds it's...
4
by: DeanJo | last post by:
I am trying to develop a resize module i can include on my pages that calculates the size of input fields based on the screen resolution... I can already detect the screen resolution, and i have...
0
by: penguins | last post by:
I have this scenario: AutoCompleteStringCollection collection = new AutoCompleteStringCollection(); TextBox Text = new TextBox(); /* Logic */ Text.AutoCompleteSource =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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...

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.