CodeCharge Studio

CalendarEvents Run-Time Variable (ColdFusion)

Applies to

Calendar Form

Type

object

Access

read/write

Description

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

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

Examples

The following example shows how to add new event.

<CFSET Evnt = StructNew()>
<CFSET CalendarEventKey=CreateDateTime(2005, 10, 31, 12, 30, 0)>
<CFSET Evnt.Time = CalendarEventKey>
<CFSET Evnt.EventTime=CalendarEventKey>
<CFSET Evnt.EventDescription = "Some text">
<CFSET StructInsert(CalendarEvents, CalendarEventKey, Evnt)>


On-line, printable versions and updates