Date Picker

Typewidget
Dictionarywidget.datepicker
LibraryDate Picker
Associationscom.livecode.widget.datepicker
Summary

A widget that allows users to select and display dates.

OSmac, windows, linux, ios, android
Platformsdesktop, mobile, web
Description

Use the dataPiker widget to create a datepicker or simply to display a calendar.

TypeNameSummarySyntax
messagedateChanged

Sent when a date is selected.

dateChanged pDate

propertyAutoResizeFont

The font size will be adjusted automatically, to take up the most space.

set the autoResizeFont of widget to {true | false}

get the autoResizeFont of widget

- - -dayNames

Specifies the label to display on the days of the week.

set the dayNames of widget to "Day-1,Day-2,Day-3,Day-4,Day-5,Day-6,Day-7"

get the dayNames of widget

- - -headerColor

Specifies the color of the text displayed in the calendar header.

set the headerColor of widget to <RGB color>

get the headerColor of widget

- - -hiliteStyle

Specifies the style in which the selected days are drawn..

set the hiliteStyle of widget to {Text | Background Square | Background Circle}

get the hiliteStyle of widget

- - -monthNames

Specifies the label that will be displayed in the names of the months.

set the monthNames of widget to "JAN,FEB,MAR,APR,MAY,JUN,JUL,AUG,SEP,OCT,NOV,DEC"

get the monthNames of widget

- - -mouseOverColor

Specify the color that the background of the day that is under the pointer will have.

set the mouseOverColor of widget to <RGB color>

get the mouseOverColor of widget

- - -NamesToUse

The name will draw the days of the week on the calendar.

set the namesToUse of widget to {English | System | Custom}

get the namesToUse of widget

- - -padDates

Shows the days of the next and previous month.

set the padDates of widget to {true | false}

get the padDates of widget

- - -paddingColor

Color of the days that do not belong to the selected month.

set the paddingColor of widget to <RGB color>

get the paddingColor of widget

- - -selectedDate

Specify the current date.

set the selectedDate of widget to "Year-Month-Day"

get the selectedDate of widget

- - -showGrid

Specifies whether a grid is drawn on the calendar.

set the showGrid of widget to {true | false}

get the showGrid of widget

- - -weekStartsOn

Sets the day the week starts.

set the weekStartsOn of widget to {Sunday | Monday}

get the weekStartsOn of widget

widgetDate Picker

A widget that allows users to select and display dates.

set the weekStartsOn of widget to {Sunday | Monday}

get the weekStartsOn of widget