fwh7.12 : Print preview problem

Post Reply
demont frank
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

fwh7.12 : Print preview problem

Post by demont frank »

Antonio,

In 21-11 i reported a print problem, probably with the preview dialog when a MDI dialog as main dialog is used.

I tested it with the last 7.12 : IT IS NOT SOLVED !!!!

Frank
demont frank
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

Post by demont frank »

Making some more tests :

The preview window is behind the program window , it can not be set first.

It is possible to set it normal (not maximized) , and then drag and drop it on a second monitor. Placing it back on the first monitor , it is hided after the program window.

Frank
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Frank,

If your main window is MDI then the preview will show as a MDICHILD child unless you remove the MDICHILD clause from source\classes\rpreview.prg
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Post by Rick Lipkin »

Frank

If you are calling your print routine from MDI .. you can use this to keep the previewer from running off.

oPRINT:lPrvModal:= .T.


Just plug this in after you define your printer object.

Hope this helps

Rick Lipkin
demont frank
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

Post by demont frank »

Antonio

If you are sugesting that what i described is only possible when i changed rpreview.prg : this is not true

I use the library from fwh , repreview.prg is dated from 2/11/2007

Frank
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Frank,

You have to use rpreview.prg from FWH 7.10 or remove MDICHILD clause from inside FWH 7.11-12 rpreview.prg

We are planning to provide a parameter to avoid the creation of a MDICHILD for the print preview if the main window is MDI, as it may bring troubles when dialogboxes are in use
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
cdmmaui
Posts: 653
Joined: Fri Oct 28, 2005 9:53 am
Location: The Woodlands - Dallas - Scottsdale - London
Contact:

Post by cdmmaui »

Hello,

I have upgraded to FWH 8.01 with LIBs dated 12/30/2007 and I have the same problems with print preview displayed behind dialog. What is the workaround to get this corrected.
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
Post Reply