
This method will return a list containing the strings of a specified column in a ListView control. This method is useful for ListView controls with the Report style set.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_ListView_GetColumnItems MyControlReference [as Reference] nColIndex [as Integer]) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_ListView_GetColumnItems ProjectFile [as String] DialogName [as String] ControlName [as String] nColIndex [as Integer]) |
Copy Code |
|---|
; Get the items for the second column (setq rValue (Odcl_ListView_GetColumnItems MyProject_MyForm_MyControl 1)) |
ListView_AddColumns, ListView_CalcColWidth, ListView_DeleteColumn, ListView_DeleteColumns, ListView_GetColumnCount, ListView_GetColumnImage, ListView_GetColWidth, ListView_SetColumnImage, ListView_SetColWidth, ListView_SortNumericItems, ListView_SortTextItems