Graphisoft®

Dialog ManagerVersion: 2.0

FileDialog::SetFolder

Changes the current folder of the file dialog.

bool SetFolder (const IO::Location & location);

Parameters

location
New location.

Return Value

True if successful.

Description

Also can be used to set the default folder of the file dialog before Invoke.

Example

    DG::FileDialog dlg (DG::FileDialog::OpenMultiFile);
    dlg.SetFolder (IO::Location("C:\"));
    if (!dlg.Invoke ())
        return false;