CalTaskMBS methods

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

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.


💬 Ask a question or report a problem