How do I get rid of this? (different result with code in button or image)
William de Smet
wdesmet at wanadoo.nl
Mon Sep 18 15:24:52 EDT 2006
Oeps, my mistake!
It wasn't the same code.
The problem is that I see the number 28 and I don't want to see it!
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
I guess it's due to the last line: put the cursor after....
I use this so the next image is after the last one.
Anyone?
William de Smet
2006/9/18, Stephen Barncard <stephenREVOLUTION at barncard.com>:
> 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
> - - - - - - - - - - - -
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
--
ICT-coördinator
Herman Broerenschool
2612 SP Delft
015-2141066
http://www.hermanbroerenschool-delft.nl
More information about the use-livecode
mailing list