Is there a way to make the label text move as in marquee but in windows form application , thanks. Thanks.

1 Answers

2
Hans Passant On Best Solutions

It isn't exactly clear where you might want to move the text to, if it doesn't fit the layout then there are no real options. In general, window layouts are contrained width-wise but have some room for growth vertically. Enforce this by setting the Label's MaximumSize property to, say, (100,0) so it cannot grow in the width and overlap some other control. That will make it start wrapping text and use more vertical space.

If that's a problem as well then set AutoSize = False and AutoEllipsis = True. The user can now tell that the text got truncated. And automatically gets a tooltip when she hovers the label.