Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enhanced Getfile()?
Message
 
À
03/10/2000 08:53:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00423969
Message ID:
00423981
Vues:
16
>Hi,
>
>I'm looking for a painless way (i.e. - don't wanna write my own dialog if I can help it) to get enhanced GetFile() functionality.
>
>Specifically - I would like a Getfile() type function that limits the choices (or at least the default choices) to files matching a particular pattern like "TEST*.dbf" - where actual file names are like TEST123.dbf, TEST456.dbf, etc.
>
>Is there a trick or existing function for handling this?
>
Ken,

This isn't documented as doing this, but it currently does, so take what follows accordingly. You can use the Common Dialogs ActiveX control's ShowOpen() method to do this. What you would do is set the filter property like:
oDlg.Filter = "Test table (test*.dbf)|test*.dbf"
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform