Platforms to show: All Mac Windows Linux Cross-Platform

CalTaskMBS class   Deprecated

Super class: CalCalendarItemMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Calendar MBS MacFrameworks Plugin 7.7 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This item is deprecated and should no longer be used. You can use EKReminderMBS instead.
The class for tasks in iCal.
Example
dim calStore as new CalCalendarStoreMBS
dim err as NSErrorMBS ' needed for the error details
dim newTask as new CalTaskMBS ' create a new reminder

// find existign tasks
dim tasks() as CalTaskMBS = calStore.tasks

// set properties
newTask.Title="new reminder"
newTask.Priority=9
newTask.DueDate=new date
//

newTask.calendar = tasks(0).calendar ' add to first List of reminders

call calStore.saveTask(newTask,err) ' save reminder
if err<>nil then
MsgBox err.localizedDescription
else
MsgBox "New reminder was created."
end if

Requires Mac OS X 10.5 to work.
Subclass of the CalCalendarItemMBS class.

Constants

Constant Value Description
CalPriorityHigh 1 One of the constants for the priority property.
CalPriorityLow 9 One of the constants for the priority property.
CalPriorityMedium 5 One of the constants for the priority property.
CalPriorityNone 0 One of the constants for the priority property.

Super class CalCalendarItemMBS

This class has no sub classes.

Some methods using this class:

Some examples using this class:


The items on this page are in the following plugins: MBS MacFrameworks Plugin.


CalRecurrenceRuleMBS   -   CanvasGesturesMBS


The biggest plugin in space...