I use getfile() in a small app. When running directly in VFP8, it works
fine. I compile the EXE and the open dialog box from getfile() is shown
off screen. I have to right-click the task icon and select move to get it
to show. I have SCEEN=OFF in my config.fpw. Does that matter?

Re: GETFILE() position by Mark

Mark
Mon Aug 04 12:25:19 CDT 2003

Actually, it is the "SCREEN=OFF" that is causing the off screen dialog.
What is up with that? I tried to insert _VFP top and left and _SCREEN top
and left with no success.

Any ideas?

--

"Mark Minnie" <news@removethisminniebyte.com> wrote in message
news:6rwXa.2945$e15.1206623394@twister2.starband.net...
> I use getfile() in a small app. When running directly in VFP8, it works
> fine. I compile the EXE and the open dialog box from getfile() is shown
> off screen. I have to right-click the task icon and select move to get
it
> to show. I have SCEEN=OFF in my config.fpw. Does that matter?
>
>
>
>



Re: GETFILE() position by Mark

Mark
Mon Aug 04 17:38:47 CDT 2003

Thanks...that worked.

--

"Eric den Doop" <ericdendoop@xspamblockxfoxite.com> wrote in message
news:ehy2JzsWDHA.2328@TK2MSFTNGP12.phx.gbl...
> Hello, Mark!
> You wrote on Mon, 04 Aug 2003 18:23:43 GMT:
>
> MM> I am calling the getfile() from my main program. I just want a
program
> MM> that will select a file. Once the file is selected, I process the
> MM> file. No form needed. Also, no main VFP desktop needed either. I
> MM> just want a open dialog, and a "Finished" dialog (MESSAGEBOX()). In
> MM> hiding the main VFP desktop, the open dialog (GETFILE()) is off
screen.
> MM> I don't want to display the main desktop. How can I move the
GETFILE()
> MM> dialog box?
>
> I ran into the same issue last week. Here's how I fixed it:
>
> _screen.left = -1000
> _screen.visible = .T.
> lcFile = GETFILE()
> _screen.visible = .F.
>
> Good luck.
> --
> Eric den Doop
> www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
>
>