Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Mike Gagnon
  Where is Mike Gagnon?
 Pointe Claire
 Canada
 Mike Gagnon
 To: Imran Khan
  Where is Imran Khan?
 Lahore
 Pakistan
 Imran Khan
 Tags
Subject: RE: Report Preview problem with Desktop=.T.
Thread ID: 248883 Message ID: 248890 # Views: 1 # Ratings: 3
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Thursday, December 24, 2009 12:20:06 PM         
   


> Hi,
>
> I have a problem with Report Preview window which open behind Master Form if Desktop=.T. while I need DESKTOP=.T.
>
> Regards
> Imran

Make your print preview appear in it's own form.
PUBLIC oForm
oForm = CREATEOBJECT("Form")
WITH oForm
 .Caption = "whatever"
 .WindowState = 2    && Maximized
 .Show()
ENDWITH
REPORT FORM yourreport PREVIEW WINDOW (oForm.Name)
oForm.Release()


Mike Gagnon
Refox XI +(English version)

ENTIRE THREAD

Report Preview problem with Desktop=.T. Posted by Imran Khan @ 12/24/2009 11:38:33 AM
RE: Report Preview problem with Desktop=.T. Posted by Mike Gagnon @ 12/24/2009 12:20:06 PM
RE: Report Preview problem with Desktop=.T. Posted by Imran Khan @ 12/24/2009 2:01:54 PM
RE: Report Preview problem with Desktop=.T. Posted by Stefan Wuebbe @ 12/25/2009 10:12:43 AM