[英]How to make a label do marquee left and marquee right?
I am trying to find the EASIEST way possible of making a labels text scroll via by typing the text into a textbox. 我试图找到通过在文本框中键入文本来使标签文本滚动的最简便方法。 I can't seem to find a good honest tutorial for both right and left can someone please give me an example of what to do? 我似乎找不到左右手都不错的诚实教程,有人可以举一个例子给我吗?
I don't care if it is smooth or not 我不在乎它是否光滑
With a timer, you could prepend spaces to the text one-by-one up to a point. 使用计时器,您可以将空格一一地放在文本之前。 Then remove the spaces one-by-one until they are all gone. 然后一一删除空间,直到它们全部消失。 That will make the text go right and left....and possibly irritate your users. 这将使文本左右移动....并可能激怒您的用户。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.