Choose Browse Tool with click
Mark Waddingham
mark at livecode.com
Tue Apr 12 14:25:42 EDT 2016
Hi Peter,
On 2016-04-12 08:12, Peter Bogdanoff wrote:
> Hi all,
>
> I have a script in a button:
>
> on mouseDoubleDown
> choose pointer tool
> select me
> end mouseDoubleDown
>
...
> Is there another way?
>
Without knowing precisely what effect you are trying to achieve, this
suggestion might be useless...
However, have you investigated using the 'cantSelect' properties of
objects? If an object has cantSelect set to true, then it acts as if it
is in browse mode, rather than pointer tool mode. Even if it is not
useful for your precise use-case, knowing why might help evolve it into
something more useful in the future.
Warmest Regards,
Mark.
--
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps
More information about the use-livecode
mailing list