MouseWithin

Peter Haworth pete at lcsql.com
Sat Jun 23 18:00:40 EDT 2012


Hi Craig,
I'm actually using the mouseLine function in my mouseWithin handler.  Since
I wrote my email, I found that I can use the mouseMove message in a
behavior and all works fine so life is good.

By the way, I don't see a mouseHover message in the dictionary - were you
just using it as a generic term?

Thanks,

Pete
lcSQL Software <http://www.lcsql.com>



On Sat, Jun 23, 2012 at 2:07 PM, <dunbarx at aol.com> wrote:

> Peter.
>
>
> I might help test this just for the exercise, but why not use one of the
> handful of terrific mouseHover functions, like "mouseLine()" or
> "mouseChunk()"?
>
>
> Craig Newman
>
>
>
> -----Original Message-----
> From: Peter Haworth <pete at lcsql.com>
> To: How to use LiveCode <use-livecode at lists.runrev.com>
> Sent: Sat, Jun 23, 2012 4:00 pm
> Subject: MouseWithin
>
>
> It would appear that a mouseWithin handler can't be used in a behavior
> script?  The mouseWithin message seems to be sent to the button containing
> the behavior script, not the control that references the behavior button.
>
> Am I misunderstanding?  If not, any suggestions for how to overcome this?
>  I am using the mouseWithin message to figure out which line/column of a
> table control the mouse is over so I can build an appropriate tooltip.
>
> Thanks,
> Pete
> lcSQL Software <http://www.lcsql.com>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the Use-livecode mailing list