How do I get rid of this? (different result with code in button or image)
Stephen Barncard
stephenREVOLUTION at barncard.com
Mon Sep 18 15:04:51 EDT 2006
try ID 28
try 28+0 (to force it to be a number)
both not tested (top of head)
sqb
>Hi there,
>
>When I put the following code into a button I get the number 28 (=the
>cursor) after the image:
>on mouseenter
> set cursor to 28
> lock cursor
>end mouseenter
>
>on mouseleave
> unlock cursor
> set cursor to arrow
>end mouseleave
>
>on mouseUp
> put "<img src=" & quote & 1067 & quote & ">" into tData
> set the htmlText of fld "Tekst" to the htmlText of fld "Tekst" &
>"&nbps; " & tData & " "
>put the cursor after the last line of fld "Tekst"
>end mouseUp
>
>But when I put the same code into an image it works the way I want (it
>doesn't show 28)
>I think it's due to the button but how do I get rid of this?
>I prefer the code into a button.
>
>Thanks,
>
>William de Smet
--
stephen barncard
s a n f r a n c i s c o
- - - - - - - - - - - -
More information about the use-livecode
mailing list