Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Events.Calendar.GetColor
Returns the calendar color.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Events | 6.2 | Yes | No | No | No | Yes |
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| EKCalendar | The id of the calendar to query. | $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 |
Result
Returns color value or error.
Description
Returns the calendar color.Examples
Returns color for calendar:
MBS( "Events.Calendar.GetColor"; "Firma" )
Returns for calendar identified by ID:
MBS( "Events.Calendar.GetColor"; "51AC6CC1-C4AB-40D0-BB30-A8AAFB280ABD")
See also
- Calendar.Calendar.GetColor
- Calendar.Calendar.SetColor
- Events.Calendar.GetSource
- Events.Calendar.GetTitle
- Events.Calendar.GetType
- Events.Calendar.SetColor
- Events.Calendar.SetSource
- Events.Calendar.SetTitle
Blog Entries
Release notes
- Version 8.3
Created 10th March 2016, last changed 13th June 2018
Events.Calendar.Duplicate - Events.Calendar.GetSource
Feedback: Report problem or ask question.
Links
MBS FileMaker blog