Results 1 to 4 of 4

Thread: Stupid Textboxes

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Location
    KC
    Posts
    72

    Unhappy

    I was re-organizing my GUI, copying and pasting labels and textboxes into a tabstrip control, when all of a sudden, my textboxes grow larger...

    Now they all have a height of 360, not 285, like default. And I Can't Shrink them below 360! Resizing with the mouse or typing the property directly will not let it go below 360. What can I do, besides re-drawing millions of textboxes?

  2. #2
    Guest
    Try setting the font to a lower value (7 or 6 for example) and then you should be able to size it down a little more.

  3. #3
    Guest
    Did you change the Textboxes font? So you don't have to do all of them, try this code:

    Code:
    For Each MyControl In Form1.Controls
    If TypeOf MyControl Is TextBox Then MyControl.Height = 285
    Or try changing the Font setting in the TabStrip control.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Location
    KC
    Posts
    72
    OK, my font was set to 10. But why the textboxes didn't change size right after I changed the font size but when copying and pasting, only MS knows...

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width