Change Height of textbox in vb.net2005

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mafaisal
    New Member
    • Sep 2007
    • 142

    Change Height of textbox in vb.net2005

    Hello Experts
    I am Using Vb.net2005 windows app
    My Doubt is

    How we can change the height of TextBox without multiline
    ie, in multi line textbox we can change but other Fixed height !!

    Hw can solve this ..?
  • StefanPienaar
    New Member
    • Nov 2007
    • 17

    #2
    I think the only other way to increase its height is to increase the size of the font used. There might be other ways besides that and setting it to multiline but I'm dont know of any

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Originally posted by mafaisal
      Hello Experts
      I am Using Vb.net2005 windows app
      My Doubt is

      How we can change the height of TextBox without multiline
      ie, in multi line textbox we can change but other Fixed height !!

      Hw can solve this ..?
      Without multiline, the only way to change the height is to change the font.
      If you want a single-line texbox that you can adjust the height without adjusting the font then you may well have to create your own textbox control (through inheritance) and override the DefaultSize property.

      Comment

      Working...