Platforms to show: All Mac Windows Linux Cross-Platform

Back to CalTaskMBS class.

CalTaskMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS MacFrameworks Plugin 7.7 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The constructor to create a new empty task.
Example
dim s as new CalCalendarStoreMBS
dim t as new CalTaskMBS
dim a() as CalCalendarMBS = s.calendars
dim d as new date

d.Month = d.Month + 1

t.calendar = a(0)
t.Title = "Test"
t.URL = "http://www.mbsplugins.de/"
t.priority = t.CalPriorityMedium
t.dueDate = d
t.notes = "just a test"
t.isCompleted = false

dim e as NSErrorMBS
if s.saveTask(t, e) then
MsgBox "saved"
else
MsgBox "failed to save"
end if

The calendar property must be set before calling saveTask on a new task.

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


The biggest plugin in space...