Choose Browse Tool with click
bogdanoff at me.com
Tue Apr 12 11:24:26 CEST 2016
Thanks, Scott that works…however...
I’m experimenting with a tool interface for an application where the user works with buttons, fields, and draw objects (sort of like Apple Pages or Preview). I'm seeing if I can come up with a simple tool strategy that doesn’t require the user to keep track of, or even know which tool is chosen, only that the object can be edited (selected, moved and resized) by something other than a normal single click. Then, clicking off the object would set things back to normal run. Fields might be selected by a single click and text changed by a double click (as in Preview).
Has anyone tried this kind of interface?
On Apr 11, 2016, at 11:29 PM, Scott Rossi <scott at tactilemedia.com> wrote:
> Not sure what you're actually building but if you don't want to use a key
> press to change tools, can you simply toggle the tool?
> on mouseDoubleDown
> if the tool is "browse tool" then
> choose pointer tool
> else choose browse tool
> end mouseDoubleDown
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> On 4/11/16, 11:12 PM, "use-livecode on behalf of Peter Bogdanoff"
> <use-livecode-bounces at lists.runrev.com on behalf of bogdanoff at me.com>
>> 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
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode