RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Dialogs.ForceCurrentDirectory Variable

Indicates whether open and save dialogs should display the current directory if no initial directory is assigned.

Pascal
ForceCurrentDirectory: Boolean = False;
C++
Boolean ForceCurrentDirectory = False;

Dialogs

ForceCurrentDirectory indicates how open and save dialogs should initialize the directory if the InitialDir property is not set to a valid directory. When ForceCurrentDirectory is True, the dialog opens with the current directory assigned. When ForceCurrentDirectory is False, the initial directory is either the current directory or the My Documents directory, depending on the version of Windows. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!