This project is read-only.

full Justification

Topics: General
Mar 23, 2010 at 8:38 PM

I am trying to use FULL JUSTIFICATION. I have read the following articals, but I think they were dated back in 2007.

 

VFP IMAGING : Full Justified Texts in your reports with GdiPlusX
http://weblogs.foxite.com/vfpimaging/archive/2007/04/05/3641.aspx

There is another related link:

VFP IMAGING : Full-Justified Text with GdiPlusX
http://weblogs.foxite.com/vfpimaging/archive/2007/03/30/3580.aspx
 

Anyway, I have downloaded the GdiPlusx.

The download consisted of system.app, system_lean.app readme.html and a source folder.

I copied the system.app and system_lean.app to C:\Program Files\Microsoft Visual FoxPro 9

I have copied the files from the SOURCE folder to C:\Program Files\Microsoft Visual FoxPro 9\Wizards

I have copied the code in the above document and saved it to C:\Program Files\Microsoft Visual FoxPro 9\Wizards as fjlistener.prg

 

I have created a test database and report. On the memo field of the report, under “other”, I added <FJ> as per instruction. 

From the command prompt I type :

do system.app

use database

SET REPORTBEHAVIOR  90

Report form test preview

 

The report displays, but the memo field is not justified.

 

Is there something I need to do to invoke GDiPlusx or is there something else I need to do with FJLISTENER.prg?

 

 

Mar 23, 2010 at 9:26 PM

You didn't tell VFP to use the FJListener:

loReportListener = newobject('FullJustifyListener', 'FJListener.prg')
report form Test preview object loReportListener

Doug

Mar 23, 2010 at 9:41 PM

Oh baby, This is perfect. Thanks for such a quick answer