Hi Everyone i am Making a Application that Scrolls Text On a Screen i Have this working with the small Exception that the long the text is vs certain font styles freeze/lag on the screen was wondering if someone has some insights on this
void t_Tick(object sender, EventArgs e)
{
STimer t = sender as STimer;
Label b = (Label)Controls[t.Name.Substring(1)];
string sScrollText = b.Text;
sScrollText = sScrollText.Substring(1,
sScrollText.Length - 1) + sScrollText.Substring(0, 1);
b.Text = sScrollText;
}
That is the code that makes the label scroll example
100 Gerogia font with this text
In 1886, when prohibition laws were passed in some locations, John Pemberton developed Coca-Cola -- a non-alcoholic version of his previous French Wine Coca. Initially, Pemberton sold Coca-Cola as a patent medicine for 5 cents per glass near soda fountains; he claimed Coca-Cola could cure diseases like headache, morphine addiction, and impotence. Starting in 1894, Coca-Cola was starting to be sold in bottles, and advertised the product on outdoor walls
Fyi Random paragraph i found for testing
Runs Fine
100 Segoe Script
Freezes and Lags Horribly to the point you cannot close the program out
It Seems on Fonts that increase the physical size of the label to a large box freeze the program
Any Suggestions would be greatly appreciated