ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JAMDialogs.TJamBrowseFlag

Defines the style of the TJamBrowseForFolder dialog

Syntax
Pascal
TJamBrowseFlag = (
  bfNewDialogStyle,
  bfFileSystemOnly,
  bfBrowseIncludeFiles,
  bfEditBox,
  bfBrowseForComputer,
  bfReturnInvalidPath,
  bfForceHiddenFolders
);
Members 
Description 
bfNewDialogStyle 
Use the new user interface. Setting this flag provides the user with a larger dialog box that can be resized. The dialog box has several new capabilities including: drag and drop capability within the dialog box, reordering, shortcut menus, new folders, delete, and other shortcut menu commands. This will need shell32.dll Version 5.0 or higher. If this flag is set to true in the object inspector and it doesn't work, you have to update your shell32.dll. This flag can't be set concurrent with bfFileSystemOnly flag or with the bfBrowseIncludeFiles flag, since neither of these can be accomplished with the new dialog style. Also it is required that the component is rooted at SF_DESKTOP.  
bfFileSystemOnly 
Only return file system directories. If the user selects folders that are not part of the file system, the OK button is greyed. This flag can't be set concurrent with bfNewDialogStyle flag.  
bfBrowseIncludeFiles 
The browse dialog box will display and allow to select files as well as folders. This will need shell32.dll Version 4.71 or higher. If this flag is set to true in the object inspector and it doesn't work, you have to update your shell32.dll.  
bfEditBox 
Include an edit control in the browse dialog box that allows the user to type the name of an item. This will need shell32.dll Version 4.71 or higher. If this flag is set to true in the object inspector and it doesn't work, you have to update your shell32.dll.  
bfBrowseForComputer 
Shows a dialog that allows the user to choose a computer from the nethood.  
bfReturnInvalidPath 
If the user enters an invalid path in the EditBox, this path will be returned in the TJamBrowseForFolder.Path property. This option is ignored if bfEditBox is not added to the options.  
bfForceHiddenFolders 
Forces that hidden elements are displayed in the dialog, even though they are currently hidden in Windows Explorer. Only works if bfNewDialogStyle is also set.