Add in

http://forums.livecode.com/viewtopic.php?p=129713#p129713

to the card script:

on mouseUp
  put the clickText into cT
  if cT is a number and cT < 31 then
    put   "day: "   & cT &cr& \
          "month: " & the label of btn "month" &cr& \
          "year: "  & the label of btn "year"
  end if
end mouseUp

Then you have the clicked date of the *center* calendar
(=number 1 of 1 or number 2 of 3 or number 2 of 6 or number 5 of 12.)

Don't forget: rightClick the calendar to show/hide an options group.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to