Thanks I hadnt appreciated the different syntax between the absolute and relative modes cheers -pm
On Sun, Nov 11, 2018 at 8:56 PM Jeremy French <[email protected]> wrote: > Hi Peter, > > Ok, so the line is 1px wide and 60px high. You want to keep the line's > dimensions but relocate the line to top = 0, left =55. > > Use absolute coordinates (which occur when the asterisk parameter is > present.) > > Specify the top left coordinates as (x=55, y=0) > Specify the bottom right coordinates (x=55, y=60) > > So you end up with this call: > > MOVE OBJECT(*;”<>Cursor2”;55;0;55;60;*) > > Regards, > Jeremy French > > On Nov 11, 2018, at 2:56 PM, Peter Mew via 4D_Tech <[email protected]> > wrote: > > 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 > > > ********************************************************************** 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] **********************************************************************

