哪位有使状态栏文字平滑滚动的源代码,最好是从右向左移动,而且一定要平滑滚动才行呀!!!!!
知道的朋友帮帮忙呀,在此谢了先!!!!
知道的朋友帮帮忙呀,在此谢了先!!!!
解决方案 »
- 請教一個關於延時的問題
- 如何使复选框实现单选框功能.
- 谁知道这个工程是什么意思:
- ?????新建iis的web站点以及删除站点
- 一个关于 ListView 的问题, 我怎么通过列名得到 Index 值?
- 高分求救 ,recordset 如何显示在水晶报表中 8.5
- 用wininet写ftp程序 如何定义ftp的默认文件夹(remote system)
- 高分求购:谁手头有动态规划的求最短路径的程序?
- 各位高手,请问在vb中怎样启动外部应用程序并且记录这个应用程序什么时候被关闭的?
- 谁能讲一讲 sql distribution 和sql merge 控件如何用?
- 在宏里面怎样控制单元格中的字体?
- 放分第1贴:感谢Modest线下的帮助。
每隔1秒让他的left-100
tit1 = "This title can run and run!.........." + String(50, " ")
tit2 = "The statusbar SimpleText can run too but slowly!.........." + String(40, " ")
Form1.Caption = title1
StatusBar1.Style = sbrSimple
StatusBar1.SimpleText = tit2
Timer1.Interval = 200
Timer2.Interval = 500
End SubPrivate Sub Timer1_Timer()
L1 = Len(tit1)
tit1 = Mid(tit1, 2, L1 - 1) + Left(tit1, 1)
Form1.Caption = tit1
End SubPrivate Sub Timer2_Timer()
L2 = Len(tit2)
tit2 = Mid(tit2, 2, L2 - 1) + Left(tit2, 1)
StatusBar1.SimpleText = tit2
End Sub在窗口中加两个timer,一个状态栏即可。如果你想实现像素级的移动,那么你就不得不进行绘制文本了。相对麻烦些。