Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets the calendar color.

Component Version macOS Windows Linux Server iOS SDK
Events 6.2 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "Events.Calendar.SetColor"; EKCalendar; Color )   More


Parameter Description Example
EKCalendar The identifier or name of the calendar. $calendar
Color The color to use. Can be a color name or hex notation like in HTML. "red"


Returns OK or error.


Sets the calendar color.
You need to save the changes to be persistent.


Sets the color:

Set Variable [ $r ; Value: MBS( "Events.Calendar.SetColor"; $Calendar; "red" ) ]

See also

Example Databases

This function checks for a license.

Created 10th March 2016, last changed 13th July 2023

Events.Calendar.Immutable - Events.Calendar.SetSource