Vcl.Dialogs.TCustomFileDialog.ShellItems

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ShellItems: IShellItemArray read FShellItems;

C++

__property _di_IShellItemArray ShellItems = {read=FShellItems};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs TCustomFileDialog

Description

Array of current shell items.

ShellItems holds the most recently accessed shell items in the dialog from a user's action, such as selecting files. Shell items are container-like objects in Windows, such as folders. See the Microsoft SDK for information on shell items. The fdoAllowMultiSelect option must be set in Options so that multiple items can be selected for ShellItems to be used.

During an event, ShellItems contains the shell items pertinent to the event, such as an array of files a user selected; after the event is processed, ShellItems is nil. After the user clicks OK, ShellItems contains the shell items result from the dialog.

See Also