|
-
Aug 8th, 2000, 12:51 PM
#1
Thread Starter
Lively Member
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?
-
Aug 8th, 2000, 12:57 PM
#2
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.
-
Aug 8th, 2000, 12:58 PM
#3
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.
-
Aug 8th, 2000, 01:03 PM
#4
Thread Starter
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|