Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Returns the calendar color.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Events 6.2 Yes No No No Yes
MBS( "Events.Calendar.GetColor"; EKCalendar { ; ReturnAsNumbers } )   More


Parameter Description Example value
EKCalendar The id of the calendar to query. $calendar
ReturnAsNumbers Optional
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".


Returns color value or error.


Returns the calendar color.


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

Blog Entries

Created 10th March 2016, last changed 13th June 2018

Events.Calendar.Duplicate   -   Events.Calendar.GetSource

Feedback: Report problem or ask question.

MBS Xojo Plugins