CodeCharge Studio

Events Run-Time Property (ASP)

Applies to

Calendar Form

Type

object

Access

read/write

Syntax

object.Events  

Description

Contains the calendar events. This value can be manually modified.

Note: The value of this property can be also modified in Before Show event.

Examples

The following example shows how to add new event.

Dim CustomEvent, CustomEventDateTime
Set CustomEvent = New clsEventCalendar1
CustomEventDateTime = DateSerial(2005, 10, 31)
CustomEvent.EventTime = TimeSerial(12, 30, 0)
CustomEvent.EventDescription = "Some text"
AddEvent CustomEventDateTime, CustomEvent


On-line, printable versions and updates