CalEventMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All , Dependencies ) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics ,
classes ,
interfaces ,
controls ,
modules ,
global methods by category ,
global methods by name ,
screenshots ,
licenses
and examples .
Platforms to show: All Mac Windows Linux Cross-Platform
CalEventMBS class Deprecated
Super class: CalCalendarItemMBS
This item is deprecated and should no longer be used.
You can use
EKEventMBS instead.
The class to handle events in iCal.
Example
// start a connection to the calendar database dim s as new CalCalendarStoreMBS // needed for the error details dim e as NSErrorMBS // create a new event dim c as new CalEventMBS// set properties dim calendars() as CalCalendarMBS = s.calendars c.Title="new Event" c.startDate=new date c.calendar=calendars(0 ) // add to first calendar dim d as new date d.hour=d.hour+1 c.endDate=d// save event call s.saveEvent(c,s.CalSpanAllEvents, e)if e<>nil then MsgBox e.localizedDescriptionelse MsgBox "New event was created." end if
Requires Mac OS X 10.5 to work.
Subclass of the CalCalendarItemMBS class.
This class has no sub classes.
Some methods using this class:
CalCalendarStoreMBS.events (StartDate as date, EndDate as date) as CalEventMBS()
CalCalendarStoreMBS.events (StartDate as date, EndDate as date, calendar as CalCalendarMBS ) as CalEventMBS()
CalCalendarStoreMBS.events (StartDate as date, EndDate as date, calendars() as CalCalendarMBS ) as CalEventMBS()
CalCalendarStoreMBS.events (StartDate as date, EndDate as date, eventUID as string) as CalEventMBS()
CalCalendarStoreMBS.events (StartDate as date, EndDate as date, eventUID as string, calendar as CalCalendarMBS ) as CalEventMBS()
CalCalendarStoreMBS.events (StartDate as date, EndDate as date, eventUID as string, calendars() as CalCalendarMBS ) as CalEventMBS()
CalCalendarStoreMBS.eventsMT (StartDate as date, EndDate as date, calendars() as CalCalendarMBS = nil) as CalEventMBS()
CalCalendarStoreMBS.eventWithUID (UID as string, occurrence as date) as CalEventMBS
CalCalendarStoreMBS.removeEvent (theEvent as CalEventMBS, span as Integer, byref error as NSErrorMBS ) as boolean
CalCalendarStoreMBS.saveEvent (theEvent as CalEventMBS, span as Integer, byref error as NSErrorMBS ) as boolean
Some examples using this class:
Blog Entries
Release notes
Version 20.0
Fixed bug in setStartDate and setEndDate methods in CalEventMBS class.
Version 19.4
Added setStartDate and setEndDate for EKEventMBS and CalEventMBS classes, so you can specify which time zone to use for converting between Date and NSDate.
The items on this page are in the following plugins: MBS MacFrameworks Plugin .
CalCalendarStoreMBS
-
CalNthWeekDayMBS