Sign in Join
FPDoc Onlineexperiment

TShellListItem class

In unit ShellCtrls

Implements the class used for list items maintained in TShelllListView.

Declaration

pascal
TShellListItem = class(TListItem)

Inheritance

  1. TShellListItem
  2. TListItem
  3. TPersistent
  4. TObject

Description

TShellListItem is a TListItem descendant which implements the class used for the list items in the TShellListView control. It extends the ancestor class with the FileInfo property used for file system information about the list item. It also includes the IsFolder method to identify whether the list item is a directory on the local file system.

TShellListItem is the default class type used to create a new list item in the TCustomShellListView.CreateListItem method. It can, however be overridden by using an OnCreateItemClass event handler in the shell list view control. It is also used in the PopulateWithRoot method in TCustomShellListView to cast a new TFileItem instance created when the a file is added to the Items for the control.

Added in LCL version 3.0.

See also

Properties

FileInfopublicFile system information about the list item.

Methods

IsFolderpublicChecks for the directory attribute in the file system information for the list item.

Inherited

From TListItem (30)

Assign Caption Checked Create Cut Data Delete Destroy DisplayRect DisplayRectSubItem DropTarget EditCaption Focused GetCheckedInternal GetOwner GetStates ImageIndex Index IsEqual IsOwnerData Left ListView MakeVisible Owner Position Selected StateIndex SubItemImages SubItems Top

From TPersistent (6)

AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

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