Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default file name for GetFile()
Message
 
To
02/08/2005 19:02:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01037900
Message ID:
01038249
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform