Link to home
Start Free TrialLog in
Avatar of amillyard
amillyardFlag for United Kingdom of Great Britain and Northern Ireland

asked on

displaying a multi-line label

is it possible to have a multiline label on a WinForm ?

Just that I can seem to only find this for text entry ... even though disabling edit for the text box -- the user can still click on the box and have a cursor flashing in that box ... so visually is not appealing... whereas a label is obviously just info displayed within the WinForm.

but ... cannot go beyond more than 1 line... what would ideally like to be able to do is select the area the text can use....(i.e. the label string is updated via a db call) -- and auto vertical scroll bar if text is larger than the allowance available (i.e. bigger than the WinForm itself).

What is the way forward on this please?
Avatar of MijaeDjinn
Flag of Canada image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
For the scroll bar part, you may have to extend the label class yourself.
Avatar of amillyard


many thanks :-)