[ANN] calendar widget

Devin Asay devin_asay at byu.edu
Tue Oct 18 16:28:00 EDT 2016


Wonderful widget, Bernd! Works well here on Mac 10.10.5 with both LC 8.1.1 RC2 and 9.0.0 DP1. 

There is only one small problem I see: the monthNames property throws an error when I try to get or set it. I wonder if it the monthNames property is interfering?

Devin


> On Oct 18, 2016, at 6:07 AM, BNig <bernd.niggemann at uni-wh.de> wrote:
> 
> During the conference a calendar widget was used in the widget course.
> The original author is Elanor Buchanan.
> I think it is a wonderful example of what widgets can do. Elanor did a very
> good job.
> 
> I extended the calendar to add some useful features.
> 
> You can choose via the properties inspector the sytem abbreviated names for
> month names and day names. Thus using the localized names.
> Default english
> 
> The option to start the week on Mondays which is the case in many countries.
> Default Sunday
> 
> Clicking on Month/Year in the title bar brings up the current date
> 
> The option that the font size adapts to the size of the widget (default)
> 
> The calendar widget uses a library also written by Elanor Buchanan
> "datesupport"
> 
> to install the widget download and unzip
> 
> http://www.berndniggemann.on-rev.com/calendar/calendar.zip
> 
> inside the folder there are two .lce files:
> 
> community.livecode.elanor.datesupport.1.0.0.lce
> community.livecode.elanorb.calendarBN.1.0.0.lce
> 
> Use the Extension Manager in the Tool Menu to install the files one by one
> by using the Plus-sign in the upper right corner of the Extension Manager.
> 
> The Extension Manager will then install those extensions in your
> "extensions" folder in your "My LiveCode" folder
> 
> You might want to restart Livecode and you should see in your toolbar a
> widget "calendarBN" with a calendar icon.
> 
> You can change a number of properties, please see the dictionary entry API:
> Choose API: CalendarBN
> 
> Calendar sends a dateChanged message when the user clicks on a date. You add
> this script to the widget to react to the message.
> 
> on dateChanged pDate
> 	put pDate into field "myDate"
> end dateChanged
> 
> Kind regards
> Bernd
> 
> 
> 
> 
> --
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

Devin Asay
Director
Office of Digital Humanities
Brigham Young University





More information about the use-livecode mailing list