Choose Browse Tool with click

Peter Bogdanoff bogdanoff at me.com
Tue Apr 12 02:12:57 EDT 2016


Hi all,

I have a script in a button:

on mouseDoubleDown
	choose pointer tool
	select me
end mouseDoubleDown

I move the button around, etc.

Now I want to click off of the button and choose the browse tool by just clicking on the card.

mouseUp, and other click messages aren’t sent because I’m not using the browse tool.

How might the card receive a mouse click in that mode?

The mouseMove message is always sent and I can use that when the mouse leaves the button, but I really only want to choose the browse tool with a click on the card.

Is there another way?

Peter Bogdanoff
UCLA






More information about the Use-livecode mailing list