I have added horizontal and vertical scroll bar seperately for the grid not using default one.I have a problem with it .when i click at the arrow it works fine but when i click on the middle scroll thing it does not scroll properly.can u tell me what to do
example
this is the function i am calling when i scroll
example
this is the function i am calling when i scroll
Code:
Sub Grid_Scroll(GrindName As Object, ScrollName As Object, Max As Integer, Id As Integer)
ScrollName.Max = Max
ScrollName.LargeChange = 5
If ScrollName.Value < ScrollName.Max And ScrollName.Value <> 0 Then
If Id = 1 Then
GrindName.TopRow = ScrollName.Value
Else
GrindName.LeftCol = ScrollName.Value
End If
End If
End Sub
Comment