Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Synchronizing MSFlexgrids with VB6 1

Status
Not open for further replies.

plopez

Technical User
Apr 2, 2002
66
CL
Hello, I need to know how I can synchronize two or more MSFlexgrids simultaneously using the vertical scroll bar through VB6 code.

Thanks for your help
 
Use the scroll event in each grid to set the TopRow properties the same. E.g., with the first grid,
Code:
Private Sub MSFlexGrid1_Scroll()
    MSFlexGrid2.TopRow = MSFlexGrid1.TopRow
End Sub
and vice versa for the second grid.
 
thanks harebrain ... a good solution for my App.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top