Skip to main content
All docs
V25.1
  • TdxOpenFileDialog.ForceFileSystem Property

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

    Declaration

    property ForceFileSystem: Boolean read; write; default False;

    Property Value

    Type Default Description
    Boolean False
    False
    Default. The Open dialog does not check if a selected item belongs to the file system.
    True
    The 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