Calendar widget again...

hh hh at hyperhh.de
Fri Sep 14 15:32:16 EDT 2018


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.




More information about the use-livecode mailing list