fwh7.12 : Print preview problem

fwh7.12 : Print preview problem

Postby demont frank » Mon Dec 03, 2007 3: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
demont frank
 
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

Postby demont frank » Mon Dec 03, 2007 3: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
demont frank
 
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

Postby Antonio Linares » Mon Dec 03, 2007 4: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Rick Lipkin » Mon Dec 03, 2007 5: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
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Postby demont frank » Mon Dec 03, 2007 9: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
demont frank
 
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

Postby Antonio Linares » Tue Dec 04, 2007 3: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby cdmmaui » Thu Feb 14, 2008 9: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
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 84 guests