Page 1 of 1
fwh7.12 : Print preview problem
Posted: Mon Dec 03, 2007 3:20 pm
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
Posted: Mon Dec 03, 2007 3:40 pm
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
Posted: Mon Dec 03, 2007 4:57 pm
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
Posted: Mon Dec 03, 2007 5:08 pm
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
Posted: Mon Dec 03, 2007 9:32 pm
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
Posted: Tue Dec 04, 2007 3:23 pm
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
Posted: Thu Feb 14, 2008 9:30 pm
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.