I am experimenting with a trial version of VPE 4.0 Standard and an old application with VPE 3.5, which has been written in Visual FoxPro.
If I replace the 3.5 Active-X objects with the new 4.0 the printing does not work properly. Some lines are missing, several words are printed in the top line.
It seems that the nHeight property does not work properly.
The VFP examples are working all right, but they do not use the nHeight property.
Questions:
- Does the standard version contain Dynamic Positioning? If not, which one does?
- Do I have to reset some default values?
The code in question looks like this:
WITH THISFORM.oVPE
.opendoc
* ...
.LINE(.nLeftmargin, 200, -(.nRightmargin - .nLeftmargin), 200)
lnFontSize = .FONTSIZE
.FONTSIZE = 14
.WRITE(.nLeftmargin, 200, VFREE, VFREE, ALLTRIM(cFirma))
.FONTSIZE = 12
.WRITE(1200, .nBottom, VFREE, VFREE, ALLTRIM(festwert.firmstrass))
*...
endwith