Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does GETDIR() work as documented?
Message
De
06/05/2004 09:10:59
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Does GETDIR() work as documented?
Divers
Thread ID:
00901533
Message ID:
00901533
Vues:
49
I'm using VFP8SP1 under Windows2000 Professional. From the command window, I type:
r = GETDIR("","Locate a folder", "", 1+2+64)
A "Browse for folder" dialog opens as expected with all of the "new dialog styles" supported under Windows2000 and higher. My issue is with the documentation that says if I use flag 1 and 2, it should:

Flag 1
"Return only file system directories (physical locations).
If a user selects folders that are not part of the file system, the OK button is grayed."
Flag 2
"Do not include network folders below the domain level in the tree view control
(For example, My Computer and My Networks)."
Does this work as documented? I've been able to select folders from mapped drives, network drives, My Computer and My Network Places. Is this not contrary to what the documentation says should happen? No matter what I try, "the OK button is [never] grayed".

BTW, what's up with the use of the word "grayed". How about using "disabled" for the users who have orange buttons with the "Pumpkin" color scheme...not that I would use it ;).

What am I doing wrong?

Mike
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform