company logo

ADKS_CalendarMonth - Month calendar

Inherits:  ADK_Style

The calendar month control is a list (collection) control, which displays the days of a month as being provided in the days collection. The calendar month control is used for managing appointments by means of a calendar. In contrast to the days calendar, the month calendar provides a better overview, but is not as detailed. Appointments are displayed for all days in the region. Each day has a sub region, which contains the appointments. Appointments per day are not arranged by time.

The control shows the days beginning with the first day in the data source, i.e. with the first day in the collection. In order to be flexible, a collection filter might be used for displaying the proper range of days. Day gaps, i.e. days that are within the required range but not defined in the collection, are filled up automatically in the item tree model. Missing days have to be created on demand, i.e. when an appointment for the day will be created.

Day controls behave similar to tree view for a day collection with subordinated appointments. Fill, select and other events are fired similar to the tree view.

Background color and fixed text color (date, lines) are taken from the control's layout definition. Background for days and appointments is a default color or the color set for day and appointment lines n the item tree model ( doBeforeDataSet() ).

Attributes
Keys