wxCalendarCtrl
The calendar control allows the user to pick a date.
Creation Parameters
- atom parent
- integer id [= -1]
- atom date [= wxDefaultDateTime]
- integer x [= -1]
- integer y [= -1]
- integer cx [= -1]
- integer cy [= -1]
- integer style [= wxCAL_SHOW_HOLIDAYS]
- wxCAL_SUNDAY_FIRST
Show Sunday as the first day in the week
| - wxCAL_MONDAY_FIRST
Show Monday as the first day in the week
| - wxCAL_SHOW_HOLIDAYS
Highlight holidays in the calendar
| - wxCAL_NO_YEAR_CHANGE
Disable the year changing
| - wxCAL_NO_MONTH_CHANGE
Disable the month (and, implicitly, the year) changing
| - wxCAL_SHOW_SURROUNDING_WEEKS
Show the neighbouring weeks in the previous and next months
| - wxCAL_SEQUENTIAL_MONTH_SELECTION
Use alternative, more compact, style for the month and year selection controls.
| | | | | | | |
Functions/Procedures
- func get_cal_days_in_month( atom cal )
- func get_date( atom cal )
- func get_date_time( atom cal )
- proc set_date( atom cal, sequence Date )
- proc set_date_back_color( atom cal, integer day, atom color )
- proc set_date_border( atom cal, integer day, integer border )
- proc set_date_border_color( atom cal, integer day, atom color )
- proc set_date_font( atom cal, integer day, atom font )
- proc set_date_holiday( atom cal, integer day, atom color )
- proc set_date_text_color( atom cal, integer day, atom color )
Supertopics
Subtopics
wxCalendarCtrl
Category:
wxCalendarCtrl
Returns the number of days in the currently selected month.
wxCalendarCtrl
Category:
wxCalendarCtrl
Returns the selected date. See read_datetime() for format information.
wxCalendarCtrl
Category:
wxCalendarCtrl
Returns a wxDateTime object for the selected date on the calendar.
wxCalendarCtrl
Category:
wxCalendarCtrl
See wxDateTime for the proper format of Date.
wxCalendarCtrl
Category:
wxCalendarCtrl
day can be either a single day (integer) or a sequence containing multiple days.
It should be in the range of 1..31.
wxCalendarCtrl
Category:
wxCalendarCtrl
day can be either a single day (integer) or a sequence containing multiple days.
It should be in the range of 1..31
border:
- wxCAL_BORDER_NONE
- wxCAL_BORDER_SQUARE
- wxCAL_BORDER_ROUND
wxCalendarCtrl
Category:
wxCalendarCtrl
day can be either a single day (integer) or a sequence containing multiple days.
It should be in the range of 1..31
wxCalendarCtrl
Category:
wxCalendarCtrl
day can be either a single day (integer) or a sequence containing multiple days.
It should be in the range of 1..31
wxCalendarCtrl
Category:
wxCalendarCtrl
day can be either a single day (integer) or a sequence containing multiple days.
It should be in the range of 1..31.
holiday should be 1 if the day is a holiday, or 0 if not a holiday.
wxCalendarCtrl
Category:
wxCalendarCtrl
day can be either a single day (integer) or a sequence containing multiple days.
It should be in the range of 1..31