| Search Locate Previous Next | Contents |
Description
Simple multiple selection from a Windows95 list view.
Indices should an integer vector if indices into ...
Items which is the text shown in the box. (Nested vector or matrix).
Checked adds a selector column 0=off 1=on 2=locked on
If icons are required, Items can be a 2-column matrix, giving the items in column-2 and the image index in column 1. Extra columns specify the columns to the right when the list is in report view. Styles gridlines and full row select may be used here.
Class Property Table
| Name | Type | Default | Description |
| Hint | String | ||
| Style | ManyOf | ||
| 3D | OneOf | Recess | Border style |
| Items | User | Items (vtv or n-col matrix) | |
| Indices | User | Selected indices | |
| Selection | User | Boolean vector (length equal to items) | |
| Checked | User | Option settings 0-2 = off/on/locked | |
| ImageIndex | Runtime | Index to icon (if not given in Items) | |
| ColTitles | Runtime | Column titles in report view (vtv) | |
| View | Runtime | View (Icon SmallIcon List Report) | |
| Select | OneOf | Multi | Selection strategy (Single Multi) |
| DragSource | Bool | User can drag items off this control | |
| DragMode | OneOf | Permitted drag operations | |
| DropAccept | StringList | Accepts drag-over and drag-drop from these groups | |
| Editable | Bool | Item labels may be edited by the user | |
| ApplData | User | Application data (matrix) |
Class-specific Events
| CC | Column Clicked |
| IDC | Item double-clicked |
| IDG | Item dragged |
| PC | PostCreate |
| DRAGOFF | Item dragged off the list |
| DRAGOVER | Item dragged over the list |
| DRAGDROP | Item dropped on the list |
| CONFM | User pressed enter |
| EDIT | User changed label text |
| HR | User pressed F1 |
| RMM | Right-mouse menu request |
Class-specific Functions
| ColTitleAlign | arg is a vector Left Right Left ... etc |
| GetColWidth | gets the column width (pixels); arg is column no(s). |
| SetColWidth | sets the column width im[;column, pixels] |
| SetColWidths | sets the leftmost column(s) in one call |
| SetImage | takes the name of one or two existing imagelist (IL) objects |
| SetView | arg can be icon smallicon list report (1st letter only reqd) |
| Sort | sorts contents according to user-supplied array |
| SortByColumn | sorts contents according to specified column |