怎么样做一个文字跑马灯效果 我的方法较笨,就是用Timer控件控制一个Label做移动,移动到一定位置再跳回去。可是这样会造成文字的闪烁。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 又timer和move呀,,你先构造一个时间函数,然后又move函数,^_^,你该会用timer和move吧, 我在下面帖子有个回复,并且已经有了几个解答了。http://www.csdn.net/expert/topic/665/665275.xml?temp=.4005701 Dim aa As IntegerPrivate Sub Form_Load()aa = 1Timer1.Enabled = TrueTimer1.Interval = 1000Shape1.Shape = 3Shape2.Shape = 3Shape3.Shape = 3Shape1.FillStyle = 0Shape2.FillStyle = 0Shape3.FillStyle = 0Shape1.FillColor = vbRedShape1.BorderColor = vbRedShape2.FillColor = vbYellowShape2.BorderColor = vbYellowShape3.FillColor = vbGreenShape3.BorderColor = vbGreenShape1.Width = 1000Shape2.Width = 1000Shape3.Width = 1000Shape1.Height = 1000Shape2.Height = 1000Shape3.Height = 1000Shape1.Top = 1500Shape2.Top = 1500Shape3.Top = 1500Shape1.Left = 1000Shape2.Left = 2000Shape3.Left = 3000Shape1.Visible = FalseShape2.Visible = FalseShape3.Visible = FalseEnd SubPrivate Sub Timer1_Timer()Select Case aaCase 1Shape1.Visible = TrueShape2.Visible = FalseShape3.Visible = FalseCase 2Shape1.Visible = FalseShape2.Visible = TrueShape3.Visible = FalseCase 3Shape1.Visible = FalseShape2.Visible = FalseShape3.Visible = TrueEnd Selectaa = aa + 1If aa >= 4 Thenaa = 1End IfEnd Sub vb 读取INI文件的疑问 复制String字符串到Byte数组中,使用那个函数 散分了 急求 请问怎么在程序中直接运行一个EXE文件? 大家给看看,这是什么病毒? 急!!!怎么样创建一个固定宽度的txt文件? EXCEL自动化问题 关于updatebatch和表格关键字的索引 关于数据库文件的打开? 求助!!关于winsock的一个问题。哪位高手能够给一点指点,不胜感激!!!! VB当中的坐标系是怎么样定的,一个控件的具体所在位置是怎么样定下来的
http://www.csdn.net/expert/topic/665/665275.xml?temp=.4005701
aa = 1
Timer1.Enabled = True
Timer1.Interval = 1000
Shape1.Shape = 3
Shape2.Shape = 3
Shape3.Shape = 3
Shape1.FillStyle = 0
Shape2.FillStyle = 0
Shape3.FillStyle = 0
Shape1.FillColor = vbRed
Shape1.BorderColor = vbRed
Shape2.FillColor = vbYellow
Shape2.BorderColor = vbYellow
Shape3.FillColor = vbGreen
Shape3.BorderColor = vbGreen
Shape1.Width = 1000
Shape2.Width = 1000
Shape3.Width = 1000
Shape1.Height = 1000
Shape2.Height = 1000
Shape3.Height = 1000
Shape1.Top = 1500
Shape2.Top = 1500
Shape3.Top = 1500
Shape1.Left = 1000
Shape2.Left = 2000
Shape3.Left = 3000
Shape1.Visible = False
Shape2.Visible = False
Shape3.Visible = FalseEnd Sub
Private Sub Timer1_Timer()
Select Case aa
Case 1
Shape1.Visible = True
Shape2.Visible = False
Shape3.Visible = False
Case 2
Shape1.Visible = False
Shape2.Visible = True
Shape3.Visible = False
Case 3
Shape1.Visible = False
Shape2.Visible = False
Shape3.Visible = True
End Select
aa = aa + 1
If aa >= 4 Then
aa = 1
End If
End Sub