|
Option Compare Database
Dim text As String
Dim text1 As String
Dim lentext As Integer
Dim i As Integer
Dim d As Integer
Private Sub Form_Load()
i = 1
d = -6000
text = "璃秶釬:lyp6160 唳掛ㄩ1.0 "
text1 = "薊炵源宒:lyp6160@163.com"
lentext = Len(text)
Me.TimerInterval = 250
Me.湖趼虴彆.Caption = ""
Me.湖趼虴彆1.Caption = ""
End Sub
Private Sub Form_Timer()
If i = lentext Then
i = 0
d = -6000
Me.湖趼虴彆.Caption = " "
Me.湖趼虴彆1.Caption = " "
Else
Me.湖趼虴彆1.Caption = Me.湖趼虴彆1.Caption & Mid(text1, i, 1)
Me.湖趼虴彆.Caption = Me.湖趼虴彆.Caption & Mid(text, i, 1)
Me.湖趼虴彆.ForeColor = d
Me.湖趼虴彆1.ForeColor = d
End If
i = i + 1
d = d + 300
End Sub |
|