PRB: GETDIR() Doesn't Behave as Expected Under System 7.5ID: Q129645 2.50b 2.50c 2.60a 3.00b MACINTOSH kbprg kbprb The information in this article applies to:
SYMPTOMSThe 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.
CAUSEThis problem occurs on System 7.5 and System 7.5.3.
STATUSThis 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.
MORE INFORMATION
Steps to Reproduce Behavior1. From the File menu, choose Open, and notice the currently selected (or 2. Click Cancel.
3. In the Command window, issue this command:
4. The Select Directory dialog opens. However, the folder displayed is not
NOTE: Issuing a SET DEFAULT TO <desired folder name> before issuing the
GETDIR() function does not change the initial folder displayed.
Additional reference words: vFoxMac 3.00b FoxMac 2.50b 2.50c 2.60a KBCategory: kbprg kbprb KBSubcategory: FxprgGeneral
|
Last Reviewed: May 22, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |