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.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

Events.Calendar.GetColor

Returns the calendar color.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Events 6.2 Yes No Yes, macOS only No Yes

MBS( "Events.Calendar.GetColor"; EKCalendar { ; ReturnAsNumbers } )

Parameters

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".
0

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


Events.Calendar.Duplicate   -   Events.Calendar.GetSource

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins