Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default file name for GetFile()
Message
 
À
02/08/2005 19:02:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01037900
Message ID:
01038249
Vues:
22
Alex Getfile() and Locfile() are functions to locate an existing file.
Use PUTFILE() when you wont to save one file. Putfile() invokes the Save As dialog box.





>>>Is there a way to indicate a file name as default when calling getfile()?
>>>
>>>TIA,
>>>
>>>Alex
>>
>>Alex take a look at
>>
DO FORM (HOME(1) + 'Tools\Filer\Filer.scx')
>>You can modify the code in
>>
thisform.pf1.page1.cboFiles.Init
>>
>>HTH
>
>Thanks for the help Vladimir. I am trying to make make one commandbutton do the work of "Save" and "Save As" by presenting the dialog to user with previous file name already selected so he can either click save or change name before clicking save. If GetFile doesn't allow this I can have two buttons without much difficulty.
>
>Alex
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform