George,
I used code like this recently and it works ok:
_screen.Top = -20000
_screen.Left = -20000
_screen.Visible = .t.
pcTableName = getfile( "dbf" )
_screen.Visible = .f.
_screen.Top = 0
_screen.Left = 0
>Thanks for the tip, Arnon. Still, it's something we shouldn't have to do, don't you think?
>
>Do you think that this is related to the following problem I encountered? I have an SDI application which asks the user for the location of certain files the first time the app is started. This information is saved, and, unless the location of those files changes, this doesn't happen again. When this happens, it occurs before the form is activated.
>
>I found that I couldn't use the GETFILE() dialog. I ended up using the Common Dialogs ActiveX control to do this. I'm thinking that the window in both cases is inheriting the visible state of the main FP window. This, however, is just a guess.