Adds new calendars to the control.
Syntax
Send_Message(Ctrl, "OLE.AddCalendars", Calendars)
Parameters
Parameter | Description |
---|---|
Calendars | @FM delimited list of Calendars |
Remarks
The AddCalendars method adds new calendars to the control. While this is just one Calendar control, it can display multiple calendars just like Outlook. The one parameter takes @FM delimited list, each field having only two values:
Position | Name | Type | Description |
---|---|---|---|
<x, 1> | Key | Text | The unique key identifying this calendar. |
<x, 2> | Name | Text | The calendar's name. |
NOTE: You must define calendars before adding appointments.
Example
// Add more calendars Calendars = "" Calendars<-1> = "VACATION":@VM:"Employee Time Off" Calendars<-1> = "HOLIDAY" :@VM:"Company Holidays" Send_Message(@Window:".OLE_CALENDAR", "OLE.AddCalendars", Calendars)