RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomFileDialog.ShellItems Property

Array of current shell items.

Pascal
property ShellItems: IShellItemArray;
C++
__property IShellItemArray ShellItems;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!