Returns the width, in pixels, of one or more columns of a ListView control.
CR : ¸ Do 'GetColWidth' inx
where inx is an integer scalar or vector, the column number(s) of interest.
The result is an integer scalar or vector. Each value is the width, in pixels, of the corresponding column in the right argument. The number of items in the result is also a function of the current value of the View property of the ListView control:
| View | Description |
Icon | The result is an empty vector. There is no column width in this view. |
SmallIcon | The result is an empty vector. There is no column width in this view. |
List | The result is a one-element vector. There is only one column in this view. The value of the right argument is treated as if it is IO. |
Report | The result contains one element for each item in the right argument. The width of the rightmost data column in the ListView is returned for any column index that lies outside of the range of data columns. |