Upgrade from VPE 3.5 to 4

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Upgrade from VPE 3.5 to 4

Postby Turan » Wed Oct 22, 2008 5:18 pm

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
Turan
 
Posts: 2
Joined: Wed Oct 22, 2008 4:57 pm
Location: Munich, Germany

Postby IDEAL Software Support » Thu Oct 23, 2008 9:04 am

The Standard Edition supports Dynamic Positioning and the nHeight property is working correctly. I rather assume you have not realized that the coordinates are now in cm instead of 1/10 mm. Please read the file "Release Notes" installed with VPE. You need to insert two lines of code to gain the old v3.x behaviour.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Thank you

Postby Turan » Thu Oct 23, 2008 4:11 pm

IDEAL Software Support wrote:... you have not realized that the coordinates are now in cm instead of 1/10 mm. Please read the file "Release Notes" installed with VPE. You need to insert two lines of code to gain the old v3.x behaviour.

As soon as this works, I'll buy VPE 4.0!
Turan
 
Posts: 2
Joined: Wed Oct 22, 2008 4:57 pm
Location: Munich, Germany


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 5 guests

cron