dateChanged

Typemessage
Dictionarywidget.datepicker
LibraryDate Picker
Syntax
dateChanged pDate
Associationscom.livecode.widget.datepicker
Summary

Sent when a date is selected.

Introduced10
OSmac, windows, linux, ios, android
Platformsdesktop, mobile, web
Example
on dateChanged pDate
   set the itemdel to "-"

   put item 1 of pDate into tYear
   put item 2 of pDate into tMonth
   put item 3 of pDate into tDay
end dateChanged
RelatedProperty: AutoResizeFont, dayNames, headerColor, hiliteStyle, monthNames, mouseOverColor, namesToUse, padDates, paddingColor, selectedDate, showGrid, weekStartsOn
Message: dateChanged
Description

The message is sent when a date in the calendar is clicked. The parameter gives the selected date in the form YYYY-MM-DD.