[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

FrameScript Bug



Hi Framers,

I wanted to let you know of a FrameScript bug that is not fatal, but can be
annoying if you don't know about it. The Sub Column property SubCol.LocY is
supposed to be the offset from the top of the TEXT FRAME that contains the
subcolumn. Instead SubCol.LocY will give you the offset from the top of the
PAGE that contains the subcolumn. The property SubCol.LocX is also
incorrect; it is relative to the page instead of the text frame.

If you need the actual offset from the top of the text frame, use this
instead:

Set vSubColTrueLocY = vSubCol.LocY - vSubCol.ParentTextFrame.LocY;

where vSubCol is a Sub Column object.

If you need the actual offset from the left of the text frame, use this
instead:

Set vSubColTrueLocX = vSubCol.LocX - vSubCol.ParentTextFrame.LocX;

where vSubCol is a Sub Column object.


Rick Quatro
Carmen Publishing
frameexpert@mindspring.com
FrameScript Information at http://www.mindspring.com/~frameexpert


** To unsubscribe, send a message to majordomo@omsys.com **
** with "unsubscribe framers" (no quotes) in the body.   **