how can i get the flexgrid to scroll down as i enter new data beyond the bottom? right now it just sits there, and i want it to scroll as new data is entered. searching the forum turned up no results.
Printable View
how can i get the flexgrid to scroll down as i enter new data beyond the bottom? right now it just sits there, and i want it to scroll as new data is entered. searching the forum turned up no results.
Use MSFlexGrid1.RowIsVisible(x) to test if row x is visible.
Then use MSFlexGrid1.TopRow=y to set the top row to y - so that whatever row you want is visible.
I found this code in a program that I have - I believe it will make a particular row visible.
Code:With MSFlexGrid1
j = 1
If .Row < .TopRow Then j = -1
If .Rows > 1 Then
While Not .RowIsVisible(.Row)
.TopRow = .TopRow + j
Wend
End If
End With