We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
‘Program in VB for speed control program using timer and Hscroll bar control.
Properties: Coding: Private Sub cmdexit_Click() Unload Me End Sub
Private Sub Timer1_Timer()
With Image1 newleft = .Left + HScroll1.Value If newleft + .Width <= Me.ScaleWidth Then Image1.Left = newleft Else Image1.Left = 0 End If End With End Sub OUTPUT: