AW: How to hilite a checkbox with send mouseup?

Nonsanity form at
Tue Feb 15 12:14:26 EST 2011

It would be better to do something like add another handler to the button:

on MouseUpWithHilite
    set hilite of me to not hilite of me
end MouseUpWithHilite

And send THAT message to the button from afar. This way, the existing
MouseUp handler in the button works as expected, and this message has the
same result as clicking the button (toggling the hilite in the process) and
enacting the MouseUp handler.

 ~ Chris Innanen
 ~ Nonsanity

On Tue, Feb 15, 2011 at 11:52 AM, Robert Brenstein <rjb at> wrote:

> On 15.02.11 at 17:24 +0100 Tiemo Hollmann TB apparently wrote:
>> Hi Jim,
>> thanks for your coaching. I wasn' t aware that sending the mousup message
>> wouldn't trigger the needed event.
>> So I was correct that I have to script both the message and the event.
>> Thank you
>> Tiemo
> In this case, you can use click instead of send:
> click at the loc of btn "test"
> This will create the event and send the mouseUp.
> Robert
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the Use-livecode mailing list