Scrolling Images in Panel

sonia.sardana

Active member
Joined
Jan 25, 2009
Messages
35
Programming Experience
Beginner
Hey i wantt o scroll images up & down,I found the foll code that uses APi to scrool...See attachment..


I Have panel in which images are there & i want to scroll up & donw..
On the Down arrow , i write the foll. text
VB.NET:
 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 ATtacment..But it dont work out..can somebody help me out??
 
Back
Top