Sign in Join
FPDoc Onlineexperiment

TCustomShellListView.ObjectTypes property

Member of TCustomShellListViewpublicIn unit ShellCtrls

Controls which file system objects are visible on the list view control.

Declaration

pascal
property ObjectTypes: TObjectTypes read FObjectTypes write SetObjectTypes default [otNonFolders];

Description

ObjectTypes is a TObjectTypes property with the set of file system objects displayed by the list view control. It allows zero or more values from the TObjectType enumeration to be included in the property. The default value for the property is [otNonFolders] and allows file system objects other than directories to be displayed on the list view control.

See TObjectType for the list of enumeration values and their meanings.

Changing the value for the property causes the contents of the list view control to be cleared and reloaded. If Selected has been assigned, it is restored following the update to the list view items.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.