MouseWithin

Bob Sneidar bobs at twft.com
Mon Jun 25 11:30:59 CDT 2012


Try creating a mouseWithin handler in both the table control and the behavior button and put a breakpoint at the beginning of each. See which fires first. 

Bob


On Jun 23, 2012, at 12:59 PM, Peter Haworth wrote:

> 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




More information about the use-livecode mailing list