Scrolbar on a Label
Posted
by Michael Quiles
on Stack Overflow
See other posts from Stack Overflow
or by Michael Quiles
Published on 2010-05-25T16:39:41Z
Indexed on
2010/05/25
16:41 UTC
Read the original article
Hit count: 237
c#
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 through number values in the scrollbar not text. Your help is appreciated.
private void xGameCreditsButton_Click(object sender, EventArgs e)
{
this.xWinnerLabel.BackColor = Color.White;
this.xCreditsScrollBar.Visible = true;
this.xWinnerLabel.Text = "This game was made possible with the help of: blah bla blah";
}
© Stack Overflow or respective owner