Back to Devexpress

TdxOpenFileDialog.ForceFileSystem Property

vcl-dxshelldialogs-dot-tdxopenfiledialog-48998993.md

latest1.5 KB
Original Source

TdxOpenFileDialog.ForceFileSystem Property

Specifies if only actual files and folders in the file system can be the Open dialog’s targets.

Declaration

delphi
property ForceFileSystem: Boolean read; write; default False;

Property Value

TypeDefaultDescription
BooleanFalseFalse Default. The Open dialog does not check if a selected item belongs to the file system.TrueThe Open dialog displays an error when a user attempts to select an item inaccessible through an actual path in the file system (for example, a file within a ZIP archive).

Remarks

Set the ForceFileSystem property to True to prevent the Open dialog from returning an invalid path through the FileName property.

Default Value

The ForceFileSystem property’s default value is False.

See Also

TdxSaveFileDialog.ForceFileSystem Property

TdxOpenFileDialog Class

TdxOpenFileDialog Members

dxShellDialogs Unit