Calendar widget

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am
Location: London, UK

Re: Calendar widget

Post by marksmithhfx » Sun Jan 17, 2021 2:16 pm

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
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Calendar widget

Post by bogs » Sun Jan 17, 2021 3:41 pm

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
Image

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”