Page 4 of 4

Re: Calendar widget

Posted: Sun Jan 17, 2021 2:16 pm
by marksmithhfx
stecxjo wrote: Sat Jan 16, 2021 6:00 am Is there a way to get the calendar widget to respond to a mouseUp message? It did not respond to one when I put that handler into the widget's script. As a workaround experiment,I tried making the widget its own group and put the message there. Of course,I could create a button as a control that would do what I want.

What do I want? I don't know yet, but I know I want to control something. :)
It does not look like it. Here's a link to the calendar API and mouseUp is not one of the commands it responds to. However it does respond to mouseUp in the header bar, to move the calendar forward and backward a month.

https://livecode.com/extensions/calendar/1-0-0/

If you come up with a specific use case of why you want the calendar to respond to mouseUp perhaps we can think of something that will work.

Cheers,
Mark

Re: Calendar widget

Posted: Sun Jan 17, 2021 3:41 pm
by bogs
If the calendar widget is one of the default set provided, you might also be able to use this lesson to do what you want.
https://lessons.livecode.com/m/4071/l/1 ... ode-widget