controls - How do you fix the height and width of a winforms label to accept variable length text -


I have created a wizard form and some help text will appear in each page of the form.

I either

1. Label control is needed where I can fix the height and width of the label, so it does not grow for long, rather my fixed width and Wrap the text within the height.

But the labels do not have resize handles and seem to adjust the content automatically.

OR

2. A text box control (I can set the height and width if I can already set the multilineer) but the user is able to edit the text box Should not be really ... the text box should not be able to focus at all. (Like a label)

Can anyone tell me how to do one or the other.

Seth B Speeden

For label, you label false autosize property

For the textbox, set the enabled asset to false


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -