Calendar widget crafted with MetaCard

Björnke von Gierke bvg at mac.com
Wed Jul 9 16:14:16 CDT 2008


Wow, second time today to advertise my stuff :)

check out "dateandtime" (in the middle):
http://bjoernke.com/runrev/stacks.php

bjoernke
On 9 Jul 2008, at 22:26, Alain Farmer wrote:

> Hello fellow MetaCard users/developers,  :-)
>
> Have any of you ever crafted a CALENDAR widget ?
>
> IOW, a tiny metacard stack, displayed as a palette,
>
> wherein:
>
> * days of the month are mapped to corresponding weekdays ;
>
> * clicking on next/prev month auto-generates calendar for it ;
>
> * selecting a day of a monthly calendar returns corresponding date.
>
> You know what I mean. I need a widget/dialog to select a DATE  
> visually, which will then return this date in date-format; and put  
> it into a field,   or whatever.
>
> In geek-speak :  ;-)
>
> on mouseUp
>  put selectDate() into field "creation date"
> end mouseUp
>
> function selectDate
>  palette "Date Selector"
> end selectDate
>
> on preOpenStack -- in stack script of stack "Date Selector"
>  put the date into today
>  convert today to dateTime
>  set itemDelimiter to comma
>  put item 1 of today into thisYear
>  put item 2 of today into thisMonth
>  put item 3 of today into thisDay
>  --
>  generateCalendar thisYear, thisMonth, thisDay
>  --
> end preOpenStack
>
> on generateCalendar thisYear, thisMonth, thisDay
>  -- this is what I NEED. Please. Pretty-please .... :-)
> end generateCalendar
>
> Anyone care to SHARE ?  :-))
>
> Alain
>
>
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard



More information about the metacard mailing list