Text hilite rollover in text field
Jeanne A. E. DeVoto
revolution at jaedworks.com
Thu Apr 15 14:49:21 EDT 2004
At 4:13 PM -0400 4/13/2004, RGould8 at aol.com wrote:
>If I want to have a text field with a list of items, and have rollovers
>working over that text field so that moving the mouse up and down
>automatically
>hilites the line underneath the mouse, what's the best way to accomplish this?
>
>I've tried playing with the mouseWithin, hilitedLine, and hilite commands,
>but can't seem to piece them together in a way that works.
Try mouseMove:
on mouseMove
set the hilitedLine of me to word 2 of the mouseLine
end mouseMove
(The hilitedLine has the form "line X of field Y", so you need to use
word 2 of it to get the actual line number.)
--
jeanne a. e. devoto ~ jaed at jaedworks.com
http://www.jaedworks.com
More information about the use-livecode
mailing list