I have a CheckedListBox with 3 columns.
But, I can't figure out how to set the width of each column even though I have used the code shown below;
Private Sub BuildListBoxColumns()
Dim nameColumn As New ListViewDetailColumn("Line Item Description")
nameColumn.HeaderText = "Line Item Description"
nameColumn.MinWidth = 800
nameColumn.Width = 800
Dim SKUColumn As New ListViewDetailColumn("SKU")
SKUColumn.HeaderText = "SKU"
SKUColumn.MinWidth = 120
SKUColumn.Width = 120
Dim QtyColumn As New ListViewDetailColumn("Qty")
QtyColumn.HeaderText = "Qty"
QtyColumn.MinWidth = 80
QtyColumn.Width = 100
The MinWidth on each columns simply doesn't work.
How do I properly set the minwidth for each column?
it's probably something simple, but I cannot see why this isn't working