FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour fwh7.12 : Print preview problem
Posts: 167
Joined: Thu Mar 22, 2007 11:24 AM
fwh7.12 : Print preview problem
Posted: Mon Dec 03, 2007 03:20 PM

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

Posts: 167
Joined: Thu Mar 22, 2007 11:24 AM
fwh7.12 : Print preview problem
Posted: Mon Dec 03, 2007 03:40 PM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
fwh7.12 : Print preview problem
Posted: Mon Dec 03, 2007 04:57 PM

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
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
fwh7.12 : Print preview problem
Posted: Mon Dec 03, 2007 05:08 PM

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

Posts: 167
Joined: Thu Mar 22, 2007 11:24 AM
fwh7.12 : Print preview problem
Posted: Mon Dec 03, 2007 09:32 PM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
fwh7.12 : Print preview problem
Posted: Tue Dec 04, 2007 03:23 PM

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
Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
fwh7.12 : Print preview problem
Posted: Thu Feb 14, 2008 09:30 PM

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

Continue the discussion