Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2    Statistic  

Calendar.Calendar.GetColor

Queries the color of the calendar.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Calendar 3.4 Yes No Yes, macOS only No No

MBS( "Calendar.Calendar.GetColor"; calendarRef )

Parameters

Parameter Description Example value
calendarRef The id of the calendar to query. $calendarRef

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.Duplicate   -   Calendar.Calendar.GetNotes

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins