
This method sets the image of a column header in a ListView control.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_ListView_SetColumnImage MyControlReference [as Reference] nColIndex [as Integer] nNewImageIndex [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_SetColumnImage ProjectFile [as String] DialogName [as String] ControlName [as String] nColIndex [as Integer] nNewImageIndex [as Integer]) |
Copy Code |
|---|
; Update the image of the fourth column (Odcl_ListView_SetColumnImage MyProject_MyForm_MyControl 3 9) |
ListView_AddColumns, ListView_CalcColWidth, ListView_DeleteColumn, ListView_DeleteColumns, ListView_GetColumnCount, ListView_GetColumnImage, ListView_GetColumnItems, ListView_GetColWidth, ListView_SetColWidth, ListView_SortNumericItems, ListView_SortTextItems