Da vidimo da li sam ja nesto naucio na ovom forumu
Pokusaj sa ovim kodom :
Code:
Private Declare Function SetTimer Lib "user32" _
(ByVal hwnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long
Private Declare Function KillTimer Lib "user32" _
(ByVal hwnd As Long, ByVal nIDEvent As Long) As Long
Private GInt, PreLen, SufLen As Integer
Const MyMessage As String = "Hello World sta se radi tamo kod vas "
Public Sub MoveTicker()
If GInt = Len(MyMessage) Then GInt = 1
PreLen = Len(MyMessage) - GInt
SufLen = Len(MyMessage) - PreLen
Form1.Caption = Mid(MyMessage, GInt, PreLen) & Left(MyMessage, SufLen)
GInt = GInt + 1
End Sub
Private Sub Form_Load()
SetTimer Me.hwnd, 50, 200, AddressOf TimerHandler
GInt = 1
End Sub
u modul ubaci ovo:
Code:
Public Sub TimerHandler(ByVal hwnd As Long, ByVal uMsg As Integer, _
ByVal idEvent As Integer, ByVal dwTime As Long)
Form1.MoveTicker
End Sub
EDIT: ubaceni code tagovi
[Ovu poruku je menjao mladenovicz dana 10.04.2006. u 16:34 GMT+1]