PRB: GETDIR() Doesn't Behave as Expected Under System 7.5
Article ID: 129645
Article Last Modified on 12/1/2003
APPLIES TO
- Microsoft Visual FoxPro 3.0b for Macintosh
- Microsoft FoxPro 2.5b for Macintosh
- Microsoft Visual FoxPro 2.5c for Macintosh
- Microsoft FoxPro 2.6a Professional Edition for Macintosh
This article was previously published under Q129645
SYMPTOMS
The GETDIR() function should display the Select Directory dialog from which
a directory or folder can be chosen. It takes two arguments <expC1> and
<expC2>. The first argument <expC1> specifies the folder that is initially
displayed in the Select Directory dialog. The second argument <expC2> is
the prompt for the folder in the Select Directory dialog. In FoxPro for
Macintosh and Visual FoxPro for Macintosh, specifying the folder that is
displayed initially does not behave as expected if running System 7.5 or
System 7.5.3.
CAUSE
This problem occurs on System 7.5 and System 7.5.3.
STATUS
This behavior is by design. It is caused by a setting in the "General
Controls" Control Panel on System 7.5. "General Controls" contains a
section indicating where to open and save documents. This setting overrides
the SET DEFAULT and other specified directories in FoxPro functions.
Additional query words: vFoxMac FoxMac
Keywords: KB129645