>on mouseEnter
> if the textStyle of the target = "link" then
> set the cursor to hand
> lock cursor
> end if
> pass mouseEnter
>end mouseEnter
>
>on mouseLeave
> if the textStyle of the target = "link" then
> set the cursor to the defaultCursor
> unlock cursor
> end if
> pass mouseLeave
>end mouseLeave
I have hyperlinks in many fields throughout my applications, so rather
than putting these handlers in every field, I use one handler in the
stack script:
on checkforLink
if the mousechunk contains "field" then
if the textstyle of the mousechunk = "Link" then
set the cursor to hand
lock cursor
else
set the cursor to arrow
lock cursor
end if
end if
send CheckforLink to me in 30 ticks
end checkforLink
Regards,
Howard Bornstein
____________________
D E S I G N E Q
www.designeq.com
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution