Hi
I am creating a graphic  object, could be a line or rectangle or a picture.
Having created it, how do I place it on the form where I Want it.
Bear in mind Im on v13 and dont have access to object set coordinates, only
move picture, transform picture, and object get coordinates.
Object Move, using absolute coordinates, doesnt seem to work
For Example I want to place a Grapic called "Cursor" at absolute
coordinates ^0 pixels from the top of the form, and 55 pixels from the left
edge of the form, no resizing.
so I call
$CursorPosPix:=55
OBJECT MOVE(*;"<>Cursor2";$CursorPosPix;60;0;0;*)
<>Cursor2 is a Vertical Line 1 pixel in width and 60 pixels high
The result is a diagonal line starting at 0 pixels on the form and
finishing at 60 pixels from the top and about 600 pixels from the left edge.
Thanks
-pm
Mac Yosemite
4D v13.6
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to