Click here to Skip to main content
12,453,672 members (87,561 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET
I want to change height of text box,combo box

When I change height to 25 from properties window ,after hitting tab button it is showing its previous value 23
Posted 23-Dec-12 4:49am
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Single line TextBoxes are like that! Laugh | :laugh: They auto size to fit the Font - so if you want a bigger text box, you need to enlarge the Font, or set the TextBox to MultiLine.
  Permalink  
Comments
Yogi ,Pune 23-Dec-12 11:10am
   
Thanks
OriginalGriff 23-Dec-12 11:37am
   
You're welcome!
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

If you don't want to use a multiline TextBox then you probably have to increase the fontsize of the TextBox itself, see:"Change the Textbox height?"[^] at Stack Overflow.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160826.1 | Last Updated 23 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100