Previewing landscape report problem

Previewing landscape report problem

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

Postby hua » Fri Apr 04, 2008 1: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.
hua
 
Posts: 1034
Joined: Fri Oct 28, 2005 2:27 am

Previewing landscape report problem

Postby Stevemcg » Fri Apr 04, 2008 3:40 am

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

- Steve
Stevemcg
 
Posts: 8
Joined: Thu Apr 03, 2008 10:17 pm

Postby hua » Fri Apr 04, 2008 4: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.
hua
 
Posts: 1034
Joined: Fri Oct 28, 2005 2:27 am

Postby Antonio Linares » Fri Apr 04, 2008 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41210
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Previewing landscape report problem

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

Postby hua » Mon Apr 07, 2008 9:46 am

Glad it works :D
hua
 
Posts: 1034
Joined: Fri Oct 28, 2005 2:27 am


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 3 guests