Expanding Label Control
- From: "jputman" <anonymous@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 3 May 2005 12:45:49 -0700
I posted this in general VB yesterday, and for some reason
i cannot see my post today. And I don't think it was ever
answered anyways. This is probably the one I should have
posted into to start with.
I have a form and I need to know how to have a fixed-width
label control grow in height when the text wraps to new
lines. There does not appear to be an automated way to
acomplish this like there was in VB6 (but I'm hoping I'm
wrong) by using the autosize and wordwrap properties. It
seems that Autosize will only resize the width to fit your
text. I need a way to *only* effect the height.
If I have to, I guess i could parse the text myself and
add line feeds where needed... then know to resize the
height every time I do so... but i'm thinking that there
should be a better way.
Thanks for the help!
.
- Prev by Date: Re: lost TextBox control in Tools
- Next by Date: When does the form window open?
- Previous by thread: lost TextBox control in Tools
- Next by thread: When does the form window open?
- Index(es):
Relevant Pages
|