I need to get the width of individual columns in a web list box.
In 2019 R1.1 this code worked:
for tempInt As Integer = 0 to tempListBox.ColumnCount - 1
tempListBox.ColumnWidth(tempInt) = Format(columnCharacters(tempInt + 1)/totalCharacterWidth * totalPercent, “####0.00”) + “%” 'set the Listbox column width
In 2022 R1.1 the compiler complains of the use of .ColumnWidth. The only property even close is ColumnWidths - which is not what I need, since this is used to set widths of all columns.
What are the work arounds?