DataGridView Problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ken

    #1

    DataGridView Problem

    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()
Working...