Calendar
Description
A calendar control. The calendar displays the dates of a month with the selected date highlighted. The user can move to the previous or next month and click on a date to select it. When a date is selected the dateChanged message is sent.
You must be logged in to leave a review or reply.
Calendar
widget
A calendar control. The calendar displays the dates of a month with the selected date highlighted. The user can move to the previous or next month and click on a date to select it. When a date is selected the message is sent.
dateChanged
message
on dateChanged pDate
Name | Type | Description |
---|---|---|
pDate | The selected date in the form YYYY-MM-DD. |
The message is sent when a date in the calendar is clicked. The parameter gives the selected date in the form YYYY-MM-DD.
dayNames
property
get the dayNames of widget
set the dayNames of widget to pDayNames
Name | Type | Description |
---|---|---|
value | A comma-delimited list of day names. |
Sets the day names to be displayed as headers in the Calendar.
monthNames
property
get the monthNames of widget
set the monthNames of widget to pMonthNames
Name | Type | Description |
---|---|---|
value | A comma-delimited list of month names. |
Sets the month names to be used when displaying the selected month in the Calendar header.
selectedDate
property
get the selectedDate of widget
set the selectedDate of widget to pDate
Name | Type | Description |
---|---|---|
value | A string in the form “YYYY-MM-DD” |
Sets the selected date of the calendar. Shows the correct month and highlights the selected date.
headerColor
property
get the headerBackround of widget
set the headerBackround of widget to pColor
Name | Type | Description |
---|---|---|
value | A RGB color. |
The is used to set the background color of the Calendar header bar.
hiliteStyle
property
get the hiliteStyle of widget
set the hiliteStyle of widget to [ Text | Background ]
Name | Type | Description |
---|---|---|
value | The hilite style
|
The is used to set the jighlight style of the selected date.