Sign in Join
FPDoc Onlineexperiment

ShellCtrls unit

Contains controls which display files and directories.

shellctrls.pas contains tree view and list view controls used to access files and directories on the local file system. The following components are added to the Lazarus IDE component palette:

Misc Tab

  • TShellTreeView
  • TShellListView

ShellCtrls.pas is part of the Lazarus Component Library (LCL).

Classes and records

EInvalidPathclassException raised for an invalid path in shell controls.
EShellCtrlclassException raised for errors occurring in shell controls.
TCustomShellListViewclassThe base class that defines a list view control to display files or directories found on the local file system.
TCustomShellTreeViewclassThe base class for a tree view control used to display files, directories and other objects (such as devices) from the local file system.
TFileItemclassProvides information about a file or directory on the local file system for use in file sort comparison routines.
TShellListColumnclassDefines a column displayed on a shell list view control.
TShellListColumnsclassCollection type used to store column definitions in a shell list view control.
TShellListItemclassImplements the class used for list items maintained in TShelllListView.
TShellListViewclassImplements a list view control to display files or directories found on the local file system.
TShellTreeNodeclassRepresents tree nodes in TCustomShellTreeView / TShellTreeView.
TShellTreeViewclassImplements a tree view control to display the files, directories and other objects (such as devices) from the local file system.

Procedures and functions

DbgSfunctionProvides strings values with details about classes used in shell controls for the debugger.
RegisterprocedureRegisters components for use in the Lazarus IDE.

Types

TAddItemEventprocedure typeSpecifies an event handler signalled when an item is added to a shell control.
TCSLVFileAddedEventprocedure typeDeprecated. Specifies an event handler signalled when an item is added to TCustomShellListView.
TExpandCollapseModeenumerationIndicates actions performed for child nodes when a shell tree node is expanded or collapsed.
TFileItemCompareEventprocedure typeImplements a handler routine used to compare values in a custom file sort for TCustomShellTreeView.
TFileSortTypeenumerationRepresents sorting options for the items in a shell control.
TMaskCaseSensitivityenumerationRepresents case sensitivity options for file masks.
TObjectTypeenumerationIndicates which objects should be visible in a Shell control.
TObjectTypessetSet type with values that indicate the visible objects in a Shell control.
TSLVColumnIDenumerationColumn identifiers used for column data displayed on a shell list view control.
TSLVFileAddedEventprocedure typeSpecifies an object procedure used to implement the OnFileAdded event handler in TCustomShellListView.
TSLVGetCellTextEventprocedure typeSpecifies an object procedure used to implement an OnGetCellText event handler in TCustomShellListView.
TSLVSizeFuncprocedure typeString function used to format size information for a file displayed in a column on a shell list view control.
TSLVSizeUnitsenumerationRepresents size units available for file size information displayed for a column on a shell list view control.

Uses

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