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 <[EMAIL PROTECTED]>:
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
[email protected]
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
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to