List view properties

Property settings control several characteristics of list view fields. The following table describes the list view properties.

[spacer]

Type

Property

Description

Object

DraggableCols

Applies only when the list view is displayed in report view mode. True indicates the user can reorder columns by dragging them. False indicates columns can’t be reordered by the user.

MultiSel

True indicates multiple items can be selected in the list view. False indicates only one item can be selected.

SortMethod

Specifies how items in the list view are sorted. If set to None, items are not sorted and are displayed in the order they were added. Ascending indicates items will be sorted in ascending order based on the item label. Descending indicates items will be sorted in descending order based on the item label. Column indicates items will be sorted based on a specific column in the list view. The user or the ListView_SetSortColumn() function can specify the sort column.

Visual

AltLineColor

If set to true, alternate lines of the list view will appear with a different color. Set the BackColor, Pattern and PatternColor properties to Custom, then use the Field_SetAltLineColor() function to specify the alternate line color.

FullRowSelect

When set to true, the entire row in the list view field is selected. When set to false, individual row items can be selected. Applies only when the list view is displayed in report view mode.

GridLines

When set to true, grid lines are drawn between items in the list view. Applies only when the list view is displayed in report view mode.

ShowHeadings

When set to true, column headings are shown in the list view. Applies only when the list view is displayed in report view mode.

ShowSelection

Indicates whether the selected items are indicated when the list view field does not have focus.

ImageSize

Specifies how list view images are sized. System indicates the images will be scaled to standard system sizes (16 by 16 or 32 by 32 pixels). First Image indicates images will be scaled to the size of the first image defined for the list view field.



Documentation Feedback