Sign in Join
FPDoc Onlineexperiment

TOpenOptionEx enumeration

In unit Dialogs

Widgetset-specific open options which cannot be mapped to the standard values in TOpenOptions.

Declaration

pascal
TOpenOptionEx = (ofHidePinnedPlaces,ofStrictFileTypes,ofPickFolders,
 ofOkButtonNeedsInteraction,ofForceFileSystem,
 ofAllNonStorageItems,ofUseXPStyleAsFallBack,
 ofShowsFilePackagesSwitch,ofAllowsFilePackagesContents,
 ofUseAlternativeTitle)

Description

Values from TOpenOptionEx are stored in the TOpenOptionsEx set type used to implement the OptionsEx property in TOpenDialog.

The current implementation contains values that are specific to the IFileDialog interface (ShlObj) and represent dialog options available in Windows Vista or later versions.

Values which are intentionally not supported include: ofDefaultNoMiniMode and ofHideMruPlaces. These values are not supported as of Windows 7.

Added in LCL version 4.0.

See also

Values

ofHidePinnedPlacesHides items shown by default in the view's navigation pane. (Windows Vista+)
ofStrictFileTypesIn a Save dialog, restrict the file extension to a file type available in the Filter property for the dialog. (Windows Vista+)
ofPickFoldersTurns the dialog into a TSelectDirectoryDialog. (Windows Vista+)
ofOkButtonNeedsInteractionThe OK button will be disabled until the user navigates the view or edits the filename (if applicable). (Windows Vista+)
ofForceFileSystemEnsures that returned items are file system items. (Windows Vista+)
ofAllNonStorageItemsAllows the user to choose any item in the Shell namespace, not just those with SFGAO_STREAM or SFGAO_FILESYSTEM attributes. This flag cannot be combined with FOS_FORCEFILESYSTEM. (Windows Vista+)
ofUseXPStyleAsFallBackAllows use XP-style dialog if creating Vista style dialog fails (e.g. when running under Windows Recovery). (Windows Vista+)
ofShowsFilePackagesSwitch
ofAllowsFilePackagesContents
ofUseAlternativeTitle

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.