JVCL Help:TOptionsDirectory

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Defines values that determine the behavior of a folder selection dialog.

run\JvBrowseFolder.pas


Pascal

 run\JvBrowseFolder.pas
 TOptionsDirectory = (
odBrowseForComputer,
odOnlyDirectory,
odOnlyPrinters,
odNoBelowDomain,
odSystemAncestorsOnly,
odFileSystemDirectoryOnly,
odStatusAvailable,
odIncludeFiles,
odIncludeUrls,
odEditBox,
odNewDialogStyle,
odShareable,
odUsageHint,
odNoNewButtonFolder,
odValidate
);
TOptionsDir = setof TOptionsDirectory;


Members

Members Description
odBrowseForComputer If the user selects anything other than a computer, the OK button is grayed.
odOnlyDirectory Not used.
odOnlyPrinters If the user selects anything other than a printer, the OK button is grayed.
odNoBelowDomain Does not include network folders below the domain level in the dialog box's tree view control.
odSystemAncestorsOnly An ancestor is a subfolder that is beneath the root folder in the namespace hierarchy. If the user selects an ancestor of the root folder that is not part of the file system, the OK button is grayed.
odFileSystemDirectoryOnly If the user selects folders that are not part of the file system, the OK button is grayed.
odStatusAvailable When property StatusText is set to an empty string then the component will display the path of the last selected directory above the tree view control. Otherwise the text specified by StatusText will be displayed. Flag odNewDialogStyle must not be set.
odIncludeFiles Version 4.71. The Browse dialog box will display files as well as folders.
odIncludeUrls Version 5.0. The Browse dialog box can display URLs.
odEditBox Version 4.71. Includes an edit control in the Browse dialog box that allows the user to type the name of an item.
odNewDialogStyle 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.
odShareable It is intended for applications that want to expose remote shares on a local system. The odNewDialogStyle flag must also be set.
odUsageHint Flag odEditBox overrides this flag.
odNoNewButtonFolder Version 6.0. Does not include the "New Folder" button in the Browse dialog box.
odValidate Flag odEditBox must also be set.

run\JvBrowseFolder.pas


Description

The TOptionsDirectory type defines values that determine the appearance and behavior of a folder selection dialog. TOptionsDir is a set of TOptionsDirectory values.

run\JvBrowseFolder.pas


About

Navigation

no pages or subcategories

run\JvBrowseFolder.pas


Notes

Some flags are not supported on all Shell32.dll versions, these flags are marked with a version number. This version number indicates that the programming element was first implemented in that version and will also be found in all subsequent versions of the DLL. If no version number is specified, the programming element is implemented in all versions.

run\JvBrowseFolder.pas


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page