object->Events [= value]
Contains the calendar events. This value can be manually modified.
Note: The value of this property can be also modified in Before Show event.
The following example shows how to add new event.
$CustomEventDateStr = "20120101"; $CustomEventTime = CCParseDate("12:00", array("HH", ":", "nn")); $CustomEvent = new clsEventNewCalendar1(); $CustomEvent->_Time = $CustomEventTime; $CustomEvent->EventTime = $CustomEventTime; $CustomEvent->EventDescription = "Some text"; $Calendar1->Events[$CustomEventDateStr][] = $CustomEvent;