FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper Previewing landscape report problem
Posts: 8
Joined: Thu Apr 03, 2008 10:17 PM
Previewing landscape report problem
Posted: Thu Apr 03, 2008 10:54 PM

My apologies for being out of the loop for the last several years, but I have a problem with an application written in FW 1.9.5.

Whenever I try to zoom in on a landscape report that I'm previewing, the text overlaps in various places and is impossible to read. Similar reports set for portrait mode seem to be okay. The font being used is 'Courier New'. Any thoughts or suggestions?

Thanks!

  • Steve
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Previewing landscape report problem
Posted: Fri Apr 04, 2008 01:38 AM
I used to have the same problems. Back then I use this code which was written by Enrico and Antonio Carlos. I'm not sure whether it'll work or not with FW 1.9.5 though.
FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 8
Joined: Thu Apr 03, 2008 10:17 PM
Previewing landscape report problem
Posted: Fri Apr 04, 2008 03:40 AM

Many thanks for the suggestion. I gave it a try but it didn't seem to solve the problem.

  • Steve
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Previewing landscape report problem
Posted: Fri Apr 04, 2008 04:20 AM

Ensure emf.dll resides in the same folder where the exe is. If it still persist, apart from converting the app to 32-bits I'm afraid I'm out of idea. Sorry.

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Previewing landscape report problem
Posted: Fri Apr 04, 2008 09:08 AM

Steve,

If you port (very easily) your application to FWH (FiveWin for Harbour) 32 bits, then we use Windows EMF files instead of WMF files, so the preview looks much better :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 8
Joined: Thu Apr 03, 2008 10:17 PM
Previewing landscape report problem
Posted: Fri Apr 04, 2008 03:37 PM

hua -

Thanks for the tip about emf.dll... that appears to be why I didn't get the results I was hoping for. After copying emf.dll into the application folder (or even the Windows folder), the reports do indeed behave properly when zooming in. Many thanks!

The only issue I ran into with linking in the rpreview.prg code was that I have no LargeFonts() routine that it refers to. I created a dummy function and tried both .T. and .F. return values, but am not sure what difference it makes. But at least it works.

  • Steve
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Previewing landscape report problem
Posted: Mon Apr 07, 2008 09:46 AM

Glad it works :D

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour

Continue the discussion