Scrollbar on a Label

前端 未结 4 1133
Happy的楠姐
Happy的楠姐 2020-12-15 04:02

I need to be able to scroll text on a label i am using this for the credits portion of a tic tac toe game. How can I make this happen we\'ve only been taught to scroll throu

4条回答
  •  长情又很酷
    2020-12-15 05:00

    Instead of a Label, use a TextBox and set the ScrollBars, MultiLine and WordWrap properties according to your needs. To disable editing of the TextBox (and, thus, make it behave similar to a label), use the ReadOnly property.

提交回复
热议问题