Is there a way to make the label text move as in marquee but in windows form application , thanks.
Thanks.
Is there a way to make the label text move as in marquee but
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.