COM Listview Interface
The Lion Listview object is returned by one of the functions of the Lion COM connection: GetListViewbyIndex or GetListViewbyName.Properties
| Name | Return type | Access | Description |
|---|---|---|---|
| ColumnCount | Integer | Read | The current number of columns in the Listview. |
| ItemCount | Integer | Read | The current number of items in the Listview. |
| Name | String | Read | The name of the field. |
Functions
| Name | Return type | Parameters | Description | |
|---|---|---|---|---|
| Type | Name | |||
| GetColumnCaption | String | Integer | Col | Returns the Caption of the column as set in Col. Ok will be set to true when successful. ErrorMsg will contain the error message when not successful. |
| Out Boolean | Ok | |||
| Out String | ErrorMsg | |||
| GetItemChecked | Boolean | Integer | Row | Returns the checked value of a row. Ok will be set to true when successful. ErrorMsg will contain the error message when not successful. |
| Out Boolean | Ok | |||
| Out String | ErrorMsg | |||
| GetItemSelected | Boolean | Integer | Row | Returns the selected value of a row. Ok will be set to true when successful. ErrorMsg will contain the error message when not successful. |
| Out Boolean | Ok | |||
| Out String | ErrorMsg | |||
| GetItemValue | String | Integer | Row | Returns the item value of the given row column combination. Ok will be set to true when successful. ErrorMsg will contain the error message when not successful. |
| Integer | Col | |||
| Out Boolean | Ok | |||
| Out String | ErrorMsg | |||
| SetItemChecked | Void | Integer | Row | Sets a given row as checked. Ok will be set to true when successful. ErrorMsg will contain the error message when not successful. |
| Boolean | Value | |||
| Out Boolean | Ok | |||
| Out String | ErrorMsg | |||
| SetItemSelected | Void | Integer | Row | Sets a given row as selected. Ok will be set to true when successful. ErrorMsg will contain the error message when not successful. |
| Boolean | Value | |||
| Out Boolean | Ok | |||
| Out String | ErrorMsg | |||
The Out keyword in front of a parameter indicates that this is a parameter which is passed by reference.
