Definition | Parameters | Return Type | Description |
AddEvent | newEvent as GraffitiCalendarEvent | None | Adds a new event to the calendar. |
AddExternalSource | GoogleCalendarID as String | None | Adds a Google Calendar to the display. |
GoogleCalendarKey as String |
BGColor as Color = &c3a87ad |
BorderColor as Color = &c3a87ad |
TextColor as Color = &cFFFFFF |
DeselectAll | None | None | Deselects all currently selected dates. |
DisableDay | day as DateTime | None | Disables the specified day. |
EnabledDay | day as DateTime | None | Enabled the specified day. |
HideDaysOfWeek | days() as Integer | None | Hides the specified days of the week. Values are 0-6 starting with Sunday. |
HideDaysOfWeek | ParamArray days as Integer | None | Hides the specified days of the week. Value are 0-6 starting with Sunday. |
FindEvent | eventID as String | GraffitiCalendarEvent | Returns an event object by the assigned ID. |
FindEventIndex | theID as String | Integer | Returns the integer index of an event object by the assigned ID. |
ICSExport | Domain as String | String | Returns all events in ICS format. |
ICSImport | theICS as String | None | Imports events in an ICS-formatted string. |
LoaderHide | None | None | Hides the loading spinner. |
LoaderShow | None | None | Shows a loading spinner that covers the entire component. |
LoadTheme | themeURL as String | None | Applies a jQuery UI theme to the calendar. |
MoveNext | None | None | Navigates to the next day/week/month in the display. |
MoveNextYear | None | None | Navigates to the next year. |
MovePrev | None | None | Navigates to the previous day/week/month in the display. |
MovePrevYear | None | None | Navigates to the previous year. |
MoveToDate | theDate as Date | None | Navigates to the defined date. |
MoveToToday | None | None | Resets the display to display the current date. |
RefetchEvents | None | None | Re-imports external event sources. |
RemoveAllEvents | None | None | Removes all events from the calendar. |
RemoveEvent | theEvent as GraffitiCalendarEvent | None | Removes the specified event from the calendar. |
RemoveExternalSource | URL as String | None | Removes an external source. |
RerenderEvents | None | None | Forces the display to update. |
RestrictEventDisplay | Boolean | False | When True, events will only be displayed that fall within the period specified by Restriction. |
Restriction | GraffitiCalendarRestriction | Nil | Used to restrict display or interaction to a specified timeframe. |
RestrictSelection | Boolean | False | When True, only those dates within the Restriction will be selectable. |
RestrictView | Boolean | False | When True, only those dates within the Restriction will be visible. |
SelectDates | StartDate as Date | None | Selects the specified date range. |
EndDate as Date = Nil) |
UpdateEvent | theEvent as GraffitiCalendarEvent | None | Updates an event in the calendar after changing properties of the Event object. |
ViewEnd ReadOnly | DateTime | Nil | The last day/time visible in the current view. |
ViewStart ReadOnly | DateTime | Nil | The first day/time visible in the current view. |