Previewing landscape report problem

Post Reply
Stevemcg
Posts: 8
Joined: Thu Apr 03, 2008 10:17 pm

Previewing landscape report problem

Post by Stevemcg »

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
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Post by hua »

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.
Stevemcg
Posts: 8
Joined: Thu Apr 03, 2008 10:17 pm

Previewing landscape report problem

Post by Stevemcg »

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

- Steve
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Post by hua »

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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
Stevemcg
Posts: 8
Joined: Thu Apr 03, 2008 10:17 pm

Previewing landscape report problem

Post by Stevemcg »

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
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Post by hua »

Glad it works :D
Post Reply