0

Hey i wantt o scroll images up & down,I found the foll code that uses APi to scrool..

http://www.codeproject.com/KB/vb/APIScroll.aspx


I Have panel in which images are there & i want to scroll up & donw..
On the Down arrow , i write the foll. text

Private Sub PictureBox35_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox35.Click
        Dim lCount As Integer
        Do While True
            lCount = lCount + 1
            If lCount = 50 Then
                Exit Do
            End If
            scrollControl(Panel4.Handle, eScrollDirection.Vertical, eScrollAction.Relitive, 5)
        Loop
    End Sub

Rest same code as in site..But it dont work out..can somebody help me out??

2
Contributors
1
Reply
3
Views
8 Years
Discussion Span
Last Post by Teme64
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.