ShellBrowser Delphi Edition Documentation
ContentsIndexHome
PreviousUpNext
TJamBrowseFlag Enumeration

Defines the style of the TJamBrowseForFolder dialog

Syntax
Pascal
TJamBrowseFlag = ( bfNewDialogStyle, bfFileSystemOnly, bfBrowseIncludeFiles, bfEditBox, bfBrowseForComputer, bfReturnInvalidPath );
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.  
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 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.  
Copyright (c) 2011. All rights reserved.