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

# TOpenOption

TOpenOption - a list of possible options which can be used in OpenDialog

## Declaration

Source position: dialogs.pp line 149

`type TOpenOption = (`
`ofReadOnly,` |  |
`ofOverwritePrompt,` |  |
`ofHideReadOnly,` |  |
`ofNoChangeDir,` |  |
`ofShowHelp,` |  |
`ofNoValidate,` |  |
`ofAllowMultiSelect,` |  |
`ofExtensionDifferent,` |  |
`ofPathMustExist,` |  |
`ofFileMustExist,` |  |
`ofCreatePrompt,` |  |
`ofShareAware,` |  |
`ofNoReadOnlyReturn,` |  |
`ofNoTestFileCreate,` |  |
`ofNoNetworkButton,` |  |
`ofNoLongNames,` |  |
`ofOldStyleDialog,` |  |
`ofNoDereferenceLinks,` |  |
`ofEnableIncludeNotify,` |  |
`ofEnableSizing,` |  |
`ofDontAddToRecent,` |  |
`ofForceShowHidden,` |  |
`ofViewDetail,` |  |
`ofAutoPreview` |  |
`);`

## Description

TOpenOption - a list of possible options which can be used in OpenDialog

    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 expand filenames
        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      // details are OS and interface dependent

The latest version of this document can be found at lazarus-ccr.sourceforge.net .