have you tried FORM GET PROPERTIES to get the center of form?
http://doc.4d.com/4Dv16/4D/16.3/FORM-GET-PROPERTIES.301-3651178.en.html

I don't recall OBJECT GET COOD. to ever return the form size
http://doc.4d.com/4Dv16/4D/16.3/OBJECT-GET-COORDINATES.301-3651562.en.html

> 2018/05/21 12:43、Sujit Shah via 4D_Tech <[email protected]> のメール:
>
> I am trying to automatically "center" the Form 4D prints using PRINT FORM.
>
> For some reason no matter where the form objects are placed I keep getting
> the same coordinates in the first line of code below:
>
> `Form event On Load
> OBJECT GET COORDINATES(*;"@";$lLeft;$lTop;$lRight;$lBottom)  //The form




**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to