Thanks for the help Kraig, just what I needed!

on 11/13/01 4:12 PM, Kraig Mentor at [EMAIL PROTECTED] wrote:

Hi Dave,

If you look in the Lingo by topic portion of the Help topics you'll find a
good listing of text syntax there. Here is the one regarding which line you
are pointing at with the mouse:

--------------------------------------
This Lingo displays the number of the line being clicked, as well as the
text of the line, in the Message window:

property spriteNum
 
on mouseDown me
 pointClicked = the mouseLoc
 currentMember = sprite(spriteNum).member
 lineNum = sprite(spriteNum).pointToLine(pointClicked)
 lineText = currentMember.line[lineNum]
 put "Clicked line" && lineNum & ", the text" && lineText
end
--------------------------------------

Regards,
Kraig


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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