company logo

ADKS_CalendarDays - Days calendar

Inherits:  ADK_Style

The calendar days control is a list (collection) control, which displays a number of days as being defined in the control style. The calendar days control is used for managing appointments by means of a calendar. Appointments are displayed for all days in the region.

The number of days to be displayed and number of hours and lines to be shown can be defined. The control shows the days beginning with the first day in item tree model, i.e. with the first day in the collection. In order to be flexible, acollection 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()).

In order to limit the day section to be displayed, a begin and end hour may be defined. When defining a limited day section, appointments that start outside the defined range are not shown.

Attributes
Keys