Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Events.Calendar.SetColor
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
Parameters
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" |
Result
Returns OK or error.
Description
Sets the calendar color.You need to save the changes to be persistent.
Examples
Sets the color:
Set Variable [ $r ; Value: MBS( "Events.Calendar.SetColor"; $Calendar; "red" ) ]
See also
- Calendar.Calendar.GetColor
- Calendar.Calendar.SetColor
- Events.Calendar.GetColor
- Events.Calendar.GetSource
- Events.Calendar.GetTitle
- Events.Calendar.GetType
- Events.Calendar.SetSource
- Events.Calendar.SetTitle
- Events.SaveCalendar
Example Databases
This function checks for a license.
Created 10th March 2016, last changed 13th July 2023