Hi,
I need to control the ScrollBar value and change it in the datagrid,
but in this case (eg. Me.DataGridView 1.gridScroll.Va lue = 100 ), the
datagrid cant auto position fit.
Any idea about this.
Public Class MyDataGrid
Inherits DataGridView
Public Sub New()
End Sub
Public gridScroll As VScrollBar = Me.VerticalScro llBar
End Class
Private Sub InitializeCompo nent()
I need to control the ScrollBar value and change it in the datagrid,
but in this case (eg. Me.DataGridView 1.gridScroll.Va lue = 100 ), the
datagrid cant auto position fit.
Any idea about this.
Public Class MyDataGrid
Inherits DataGridView
Public Sub New()
End Sub
Public gridScroll As VScrollBar = Me.VerticalScro llBar
End Class
Private Sub InitializeCompo nent()