908 ObjectPAL: Line objects
VERSIONS: Paradox 7 and 8

SUBJECT: Line objects

BY: DAVID HANCOCK
Date: 5 March 1998

I've found that sometimes uiobject.setposition doesn't work properly with lines and its better to use uiobject.start=.. and uiobject.end=.. which do work as you'd expect them to.

I checked out some old code - setposition(x,y,w,h) has problems when w<0 or h<0 - According to the help files, you can not expect setposition to work with w<0 or h<0. "Variables x and y specify the coordinates of an object's upper-left corner (in twips)." So there is a set of uiobjects that create & setposition can't handle - lines which don't start or finish at the upper left corner of their bounding box.
I also recall that uiobject.create has problems if the object being created is too near the border of its container

To index