[Overview][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implements the class used for list items maintained in TShelllListView.
Source position: shellctrls.pas line 244
type TShellListItem = class(TListItem) |
||
public |
||
function isFolder; |
|
Checks for the directory attribute in the file system information for the list item. |
property FileInfo: TSearchRec; [rw] |
|
File system information about the list item. |
end; |
|
Implements the class used for list items maintained in TShelllListView. |
|
| | ||
|
Represents the items created in TCustomListView and descendants. |
|
| | ||
| | ||
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.
|
Create a new entry added to the Items for the shell control. |
|
|
Fills the list view with file system information for the directory in Root. |
|
|
Collection of list items displayed on the list view control. |
|
|
Constructor for the class instance. |
|
|
Represents the items created in TCustomListView and descendants. |
|
|
Adds a new list item to the container. |
Version 3.2 | Generated 2024-02-25 | Home |