> easy one: how can i get the number of the line clicked on a text sprite,
> the same way with fields using the mouseLine? i just can�t figure it out,
> but i�m sure it�s simple.

It's not obvious. The "equivalent" is to use pointToLine(sprite, the
mouseLoc - sprite.loc). pointToLine works on the coordinate system of the
text member, which is why you have to adjust for the sprite loc.

You also have access to pointToChar(), pointToItem(), pointToWord(), and
pointToParagraph().

hth,
Kurt

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to