Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make a listbox scroll accordingly with another
Message
 
 
To
29/07/2003 18:15:44
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00814742
Message ID:
00816509
Views:
21
HI!,

Try this:
Private Sub lsA_Click()
    With lsB
        .ListIndex = lsA.ListIndex
        .TopIndex = lsA.TopIndex
    End With
End Sub
lsA and lsB are listboxes, they must be the same height
Previous
Reply
Map
View

Click here to load this message in the networking platform