[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ShellCtrls' (#lcl)

TCustomShellListView.ObjectTypes

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

Declaration

Source position: shellctrls.pas line 299

public property TCustomShellListView.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

TCustomShellListView.PopulateWithRoot

  

Fills the list view with file system information for the directory in Root.

TCustomShellTreeView.ObjectTypes

  

Indicates the file system objects displayed using the control.

TObjectTypes

  

Set type with values that indicate the visible objects in a Shell control.

TCustomListView.Clear

  

Clears the Items for the list view.

TCustomListView.Selected

  

Contains the selected list item in the list view control.


Version 4.0 Generated 2025-05-03 Home