Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid Path?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00921929
Message ID:
00922395
Vues:
16
Hi Barbara,

Thanks for the suggestion.

TFISHER

>>Right now, I am using an IF..ENDIF to see if the path is valid. If it is not, I am using PUTFILE(). If you have a better suggestion, I am all ears!
>>
>
>Not sure if this is a better suggestion, but for this situation, I created a composite class I call cmpSelDirFile. It has a textbox in which the user can enter the path, plus a button with binoculars that will use GetFile to search for a file or directory. It doesn't check that the path is valid, but you can just add RETURN DIRECTORY('This.Value') to the Valid of the textbox. You can download the class from http://www.peisch.com/downloads.html
Thanks,

TFISHER
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform