Problem:
How can I get/set the column widths in a DataGridView in a COBOL WinForms application.
Resolution:
There is a "Width" property on the Column object. Given the datagridview object you can access it using code such as:-
set Label2::"Text" to dataGridView1::"Columns"::"Item"(1)::"Width"
This code get the width of the second column (zero based index).
Old KB# 3955