Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with GETFILE()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00494950
Message ID:
00494959
Views:
23
>Hello everyone,
>I'm running a prg, no forms, nothing visual, so my first line of code is to _SCREEN.Visible = .F.
>Everything processes just fine, except for GETFILE(), which seems to need to be in the main screen. Is there a way to get it out of the screen, or is there another way to let the user choose the path and file name and return it? Thanks for any help.

John,

It may be that the GETFILE() dialog is inheriting its visibility state from the main VFP screen. It's (the function) a call to the Windows Common Dialogs DLL, so you can use the ActiveX control to present the same dialog to the user by correctly setting the various properties of the control.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform