setLocation and setSize

while positioning a field with setLocation and setSize I noticed that the field:

  1. is positioned 4 pixels to the left e.g. x = 87 is in real lift x = 91
  2. is the same amount of pixels too wide e.g. x = 500 is in real life x = 504
  3. positioned at y = 110 pixels on a body with a header of 40 pixels heigth should be positioned at y = 70

The last one probably is intended. The first two, I hope, not…

Further, I am going to print with the above results and…

Have a look at the screenprint. It is a screenprint in a screenprint so you have to look through it a little but, the lower one is the initial screen where the fields are positioned with setLocation and setSize. The one above is the same screen but now as print(-preview).

You will see that the original setting are back again. Not what I wanted…

Printing with existing modified form parts is requested in the past by HJK, but is quite difficult for us to implement.
In Java it is inpossible to duplicate a userinterface (we cannot use existing), so creating a new one from the repository is only solution currently which does not reflect the changes you made with java script.
But we know a way arround this, so it is on the planning for next year.

OK, thanks…