The Lion ListView object is returned by one of the following Lion COM connection functions: GetListViewByIndex or GetListViewByName.
The following functionality is provided:
| Name | Type | Access | Description |
|---|---|---|---|
| ColumnCount | Integer | Read-only | The current number of columns in the ListView. |
| ItemCount | Integer | Read-only | The current number of items in the ListView. |
| Name | String | Read-only | The name of the ListView field. |
| Function name | Return type | Parameters | Description | |
|---|---|---|---|---|
| Name | Type | |||
| GetColumnCaption | String | Col | Integer |
Returns the caption of the column specified in Col. |
| Ok | Out Boolean | |||
| ErrorMsg | Out String | |||
| GetItemChecked | Boolean | Row | Integer |
Returns the checked value of a specified row. |
| Ok | Out Boolean | |||
| ErrorMsg | Out String | |||
| GetItemSelected | Boolean | Row | Integer |
Returns the selected value of a specified row. |
| Ok | Out Boolean | |||
| ErrorMsg | Out String | |||
| GetItemValue | String | Row | Integer |
Returns the item value for the specified row and column combination. |
| Col | Integer | |||
| Ok | Out Boolean | |||
| ErrorMsg | Out String | |||
| SetItemChecked | Void | Row | Integer |
Sets the specified row as checked (true) or unchecked (false) by the provided value. |
| Value | Boolean | |||
| Ok | Out Boolean | |||
| ErrorMsg | Out String | |||
| SetItemSelected | Void | Row | Integer |
Sets the specified row as selected (true) or deselected (false) by the provided value. |
| Value | Boolean | |||
| Ok | Out Boolean | |||
| ErrorMsg | Out String | |||
The Out keyword before a parameter indicates that the parameter is passed by reference.