Show Linktext on mousemove
Alejandro Tejada
capellan2000 at gmail.com
Sun Jan 23 15:48:11 EST 2011
Hi Jeff,
I found a reliable way to recreate the error everytime.
The condition that trigguers the error occurs only when
mouseText (or mouseCharChunk) is empty.
Adding another condition: "the mousetext is not empty"
to IF, THEN, ELSE solves the error:
on mousemove
if the hilite of button "ShowLinkText" and the mousetext <> empty and \
the linktext of the mousetext <> empty
then
put "Actual link is: " & the linktext of the mousetext into fld
"ActualLink"
set the textcolor of char 44 to -1 of fld "ActualLink" to blue
else
put empty into fld "ActualLink"
end if
end mousemove
Many thanks for your idea, Jeff! :-)
Al
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Show-Linktext-on-mousemove-tp3232843p3233005.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list