Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Returns the calendar color.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Events | 6.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
EKCalendar | The identifier or name of the calendar. | $calendar | |
ReturnAsNumbers | Available in MBS FileMaker Plugin 8.3 or newer. Pass 1 to return color as list of red, green and blue, e.g. "123¶234¶56" Pass 0 (default) for return as hex value, e.g. "7788FF". |
0 | Optional |
Returns color value or error.
Returns color for calendar:
MBS( "Events.Calendar.GetColor"; "Firma" )
Returns for calendar identified by ID:
MBS( "Events.Calendar.GetColor"; "51AC6CC1-C4AB-40D0-BB30-A8AAFB280ABD")
This function checks for a license.
Created 10th March 2016, last changed 13th June 2018