Vcl.Dialogs.TCustomFileDialog.ShellItem

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ShellItem: IShellItem read FShellItem;

C++

__property _di_IShellItem ShellItem = {read=FShellItem};

Properties

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

Description

Current shell item.

ShellItem holds the most recently accessed shell item in the dialog from a user's action, such as selecting a file or folder. Shell items are container-like objects in Windows, such as folders. See the Microsoft SDK for information on shell items.

During an event, ShellItem contains the shell item pertinent to the event, such as a file a user selected; after the event is processed, ShellItem is nil. After the user clicks OK, ShellItem contains the shell item result from the dialog.

See Also