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
Calendar.Calendar.GetColor
Queries the color of the calendar.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Calendar | 3.4 | Yes | No | No | No | No |
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| calendarRef | The id of the calendar to query. | $calendarRef | |
| 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 or error.
Description
Queries the color of the calendar.Color is returned as hex numbers like "8295AF".
Examples
Check color of calendar by ID:
MBS( "Calendar.Calendar.GetColor"; "B560017B-E414-4CD9-B3D1-3D6E7717D714" )
Get color for calendar by name:
MBS( "Calendar.Calendar.GetColor"; "Public" )
See also
- Calendar.Calendar.GetNotes
- Calendar.Calendar.GetTitle
- Calendar.Calendar.GetType
- Calendar.Calendar.GetUID
- Calendar.Calendar.SetColor
- Calendar.Calendar.SetNotes
- Calendar.Calendar.SetTitle
- Events.Calendar.GetColor
- Events.Calendar.SetColor
Blog Entries
Release notes
- Version 8.3
- Version 8.2
- Fixed Calendar.Calendar.GetColor function.
Created 18th August 2014, last changed 13th June 2018
Calendar.Calendar.Duplicate - Calendar.Calendar.GetNotes
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins