Many programs re-size their text boxes, labels, picture boxes, etc... when you change the the whole form's size. But when I drag a text box in my form and make the form smaller, it will overlap the text box and it'll be unusefull because I can't see everything which is written in there.
It's hard to explain so here are some photo's:
Fit text automatically Click anywhere in the text. On the Format menu, point to AutoFit Text, and do one of the following: To reduce the point size of text until there is no text in overflow, click Shrink Text On Overflow. To shrink or expand text to fit in the text box when you resize the box, click Best Fit.
Resize a text box Select the text box. Select one of the handles and drag until the text box is the size you want.
Check the property Anchor for your textbox.
It appears that you need to set to Top, Left, Right
If you set in this way, the textbox remains anchored to its container left, top and right borders.
Thus, when the form (the container) is resized, the textbox automatically grows or shrinks to maintain the original distance set in the designer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With