Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do a preview in a SDI program?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00110262
Message ID:
00110373
Views:
20
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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform