滚动文字 [英] scrolling text

查看:79
本文介绍了滚动文字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在''about''框中开发滚动文本,类似于你在很多应用程序中看到的那种

的东西(例如photoshop)。我可以使用flash来做这个,

我知道怎么做,但我想知道我是否可以在vb .net

中执行此操作。


感谢您的帮助。


Bernie Yaeger

解决方案

set一个定时的thead滚动标签,这将通过增加标签的位置来创建动作,并且不会导致系统挂起,因为

它位于一个精确的线程中

" Bernie Yaeger" <是***** @ cherwellinc.com>在留言中写道

news:eu ************** @ TK2MSFTNGP11.phx.gbl ...

我想要在''about''框中开发滚动文本,类似于你在很多应用程序中看到的那种
(例如photoshop)。我可以用flash做
这个,我知道怎么做,但我想知道我是否可以在vb .net
中做到这一点。

感谢任何帮助。

Bernie Yaeger



" Brian Henry"百分比抑制率REMOVE-ME] BR ****** @ adelphia.net> schrieb

设置一个定时的thead滚动标签,这将通过增加标签的位置来创建动作,而不会导致系统挂起因为它在一个sepreate thread




与Timer(WinForms计时器)相比有什么好处?另一个线程

是没有意义的,因为无论如何都无法从线程中访问




-

Armin

http ://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html


嗨Armin,
< blockquote class =post_quotes>与Timer(WinForms计时器)相比有什么好处?另一个线程
没有意义,因为无论如何都无法从线程访问




看这个问题,我认为它可以做到而且Bearnie是一个人,当他认为它看起来不错时,b $ b不关心

一些额外的代码。


当你制作一个额外的线程时,你可以根据

a计时器发射一个事件。

(你知道我会以这样的方式在线程而不是

计时器)


\\\\一种伪造的

for i = 1 to 20

举办活动''公共活动

thread.sleep(500)

next

thread.abort < br $>
///


你可以在你的

主页中抛出的事件中带有标签的东西,我认为可以看起来很漂亮。


只是一个想法。

:-)

Cor


I''d like to develop scrolling text in an ''about'' box, similar to the kind of
thing you see in lots of apps (eg photoshop). I could use flash to do this,
and I know how to, but I would like to know if I can do this in vb .net
only.

Thanks for any help.

Bernie Yaeger

解决方案

set up a timed thead to scroll a label, this will create the motion by
incrementing the position of the label and not cause system hang ups because
it is in a sepreate thread
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:eu**************@TK2MSFTNGP11.phx.gbl...

I''d like to develop scrolling text in an ''about'' box, similar to the kind of thing you see in lots of apps (eg photoshop). I could use flash to do this, and I know how to, but I would like to know if I can do this in vb .net
only.

Thanks for any help.

Bernie Yaeger



"Brian Henry" <[REMOVE-ME]br******@adelphia.net> schrieb

set up a timed thead to scroll a label, this will create the motion
by incrementing the position of the label and not cause system hang
ups because it is in a sepreate thread



What is the benefit compared to a Timer (a WinForms timer)? Another thread
wouldn''t make sense because the Label can not be accessed from the thread
anyway.

--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html


Hi Armin,

What is the benefit compared to a Timer (a WinForms timer)? Another thread
wouldn''t make sense because the Label can not be accessed from the thread
anyway.



Looking to this problem, I think it can be done and Bearnie is someone who
does not care for
some extra code when he thinks it look nice.

When you make an extra thread, you can that let fire an event accoording to
a timer.
(You know I would do it in a way like this in the thread and not with a
timer)

\\\ a kind of psuedo
for i = 1 to 20
raise event ''public event
thread.sleep(500)
next
thread.abort
///

Than you can something with the label in the event thrown by this in your
mainpage, I think that can be look very nice.

Just a thought.
:-)
Cor


这篇关于滚动文字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆