AW: How to hilite a checkbox with send mouseup?
form at nonsanity.com
Tue Feb 15 11:14:26 CST 2011
It would be better to do something like add another handler to the button:
set hilite of me to not hilite of me
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
On Tue, Feb 15, 2011 at 11:52 AM, Robert Brenstein <rjb at robelko.com> 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
> 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.
> 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