Private Sub lvwOne_ColumnWidthChanging(ByVal sender As Object, ByVal e As System.Windows.Forms.ColumnWidthChangingEventArgs) Handles lvwOne.ColumnWidthChanging
e.Cancel = True
Select Case e.ColumnIndex
Case Is = 0
e.NewWidth = 25
Case 1, 2, 3, 4
e.NewWidth = 100
Case Else
e.NewWidth = 0
End Select
End Sub
You can keep the column width unchanged. This way, user cannot resize the columns width.
No comments:
Post a Comment