Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open dialog to select file? other than getfile()?
Message
De
08/08/2005 15:03:18
 
 
À
08/08/2005 14:33:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01039373
Message ID:
01039382
Vues:
21
>Hi all. is there any way to not use getfile() and give them option to select file. problem with getfil() is its standard windows dialog bxo and allows to delete,move folder etc while its open. its very dangerous as users can accidently move something. so i was wondering if there is any api call or anything i can use instead of getfile().
>thanks a lot in advance


The main replacement would be the Common Controls ActiveX. It has some advantages and has a little more "standard look", whatever that is. Unfortunately it will allow your users to do what you don't want as it is the same dialog used by Windows Explorer. etc.

The thing that comes to mind is to do some work building a control yourself, using ADIR() and displaying it in a form of your own, maybe with a Treview control. A lot more work and maybe not worth it.

Just .02


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform