DVX_GUI/widgets/listView/listview.bhs

37 lines
1.4 KiB
Text

.topic ctrl.listview
.title ListView
.toc 1 Data Display Controls
.toc 1 ListView
.index ListView
.index Multi-Column List
.h1 ListView
VB Equivalent: ListView -- DVX Widget: listview
A multi-column list with column headers. Supports sorting, multi-select, and drag-to-reorder. Columns are configured via the C API (SetColumns, SetData).
.h2 Type-Specific Properties
.table
Property Type Description
--------- ------- -------------------------------------------
ListIndex Integer Index of the currently selected row (-1 = none).
.endtable
.h2 Type-Specific Methods
.table
Method Parameters Description
--------------- --------------------------------------- -------------------------------------------
SelectAll (none) Select all rows.
ClearSelection (none) Deselect all rows.
SetMultiSelect Multi As Boolean Enable or disable multi-select.
SetReorderable Reorderable As Boolean Enable or disable row reordering.
IsItemSelected Index As Integer Returns True if the row at Index is selected.
SetItemSelected Index As Integer, Selected As Boolean Select or deselect a specific row.
.endtable
Default Event: Click
.link ctrl.common.props Common Properties, Events, and Methods