[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Dialogs' (#lcl)

TOpenOption

Options which can be used in OpenDialog.

Declaration

Source position: dialogs.pp line 185

type TOpenOption = (

  ofReadOnly,

  

  ofOverwritePrompt,

  

If selected file exists shows a message, that file will be overwritten.

  ofHideReadOnly,

  

hide read only file.

  ofNoChangeDir,

  

do not change current directory.

  ofShowHelp,

  

show a help button.

  ofNoValidate,

  

  ofAllowMultiSelect,

  

allow multiselection.

  ofExtensionDifferent,

  

  ofPathMustExist,

  

shows an error message if selected path does not exist.

  ofFileMustExist,

  

shows an error message if selected file does not exist.

  ofCreatePrompt,

  

  ofShareAware,

  

  ofNoReadOnlyReturn,

  

do not return filenames that are readonly.

  ofNoTestFileCreate,

  

  ofNoNetworkButton,

  

  ofNoLongNames,

  

  ofOldStyleDialog,

  

  ofNoDereferenceLinks,

  

do not resolve links while dialog is shown (only on Windows, see OFN_NODEREFERENCELINKS).

  ofNoResolveLinks,

  

do not resolve links after Execute.

  ofEnableIncludeNotify,

  

  ofEnableSizing,

  

dialog can be resized, e.g. via the mouse.

  ofDontAddToRecent,

  

do not add the path to the history list.

  ofForceShowHidden,

  

show hidden files.

  ofViewDetail,

  

details are OS and interface dependent.

  ofAutoPreview

  

OS and interface dependent.

);

Description

TOpenOption contains a list of possible options which can be used in an Open dialog.