Inherited from : TCommonDialog
unit : ApFolderDlg
This component is simply wrapper for SHBrowseForFolder Win32 function.
Also TApCustomFolderDialog component is available. All new properties of custom component are protected.
= (ffBrowseForComputer,
ffBrowseForPrinter,
ffDontGoBelowDomain,
ffReturnFSAncestors,
ffReturnOnlyFSDirs,
ffStatusText);
= set of TApBrowseForFolderFlag;
Is used in Options property.
TApSpecShellFolder = (ftNone,
ftRecycleBin,
ftCommonDesktopDir,
ftCommonPrograms,
ftCommonStartMenu,
ftCommonStartup,
ftControls,
ftDesktop,
ftDesktopDir,
ftDrives,
ftFonts,
ftNethood,
ftNetwork,
ftPersonal,
ftPrinters,
ftPrograms,
ftRecent,
ftSendTo,
ftStartMenu,
ftStartup,
ftTemplates);
Predefined system folders.
This type is used in SpecialIniFolder property to specify initial folder wich will be selected on dialog showing.
Published, protected in custom version
This variable contains all information about side panels of the standard dialog. See TApCustDlgPatams type for details.
useCustDlgParams.CustomForm is not used in this component. (Later - as replacement on std shell selection control similar to TApOpen/SaveDialog).
Published; protected in custom version
You can specify initial folder wich is selected when you launch the dialog.
Published; protected in custom version
You can specify one of the predefined system folders as initial folder.
Published; protected in custom version
Instead of sending BFFM_SETSTATUSTEXT message via callback dialog fuction use this property to specify status text. This text will be displayed in the dialog box.
Published; protected in custom version
Simply wrapper for BROWSEINFO.ulFlags struct member. See Win32 Reference for details.
Public; protected in custom version
Read-only and "dialog-time". You can read this property to get currently selected folder.
Public; protected in custom version
The same as SelectedFolder property. But returns PItemIDList insead of string value. See Win32 Reference for infomation about ITEMIDLIST.
Public; protected in custom version
"Dialog-time" property. Determines whether OK button of the dialog is enabled. Set to False to prevent the dialog box closing.
Public; protected in custom version
After dialog box is closed, you can read this property to get folder name (with disk name and path) you selected.
Public; protected in custom version
The same as FolderName, but returns PItemIDList. See Win32 Reference for information about ITEMIDLIST structure.
Published; protected in custom version
Short user-friendly name of the folder you selected (without disk and path).
Published; protected in custom version
Wrapper for Win32 BROWSEINFO.plszTitle struct member.
No items in this section.
All the new properties below are "dialog-time".
Published; protected in custom version
Occures if user changes the folder.