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

There is another related link:

VFP IMAGING : Full-Justified Text with GdiPlusX

Anyway, I have downloaded the GdiPlusx.

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

I copied the and 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 :


use database


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


Mar 23, 2010 at 9:41 PM

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