Page 1 of 1
Previewing landscape report problem
Posted: Thu Apr 03, 2008 10:54 pm
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
Posted: Fri Apr 04, 2008 1:38 am
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.
Previewing landscape report problem
Posted: Fri Apr 04, 2008 3:40 am
by Stevemcg
Many thanks for the suggestion. I gave it a try but it didn't seem to solve the problem.
- Steve
Posted: Fri Apr 04, 2008 4:20 am
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.
Posted: Fri Apr 04, 2008 9:08 am
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
Previewing landscape report problem
Posted: Fri Apr 04, 2008 3:37 pm
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
Posted: Mon Apr 07, 2008 9:46 am
by hua
Glad it works