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: 8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1    Statistic  


Sets the color for a calendar.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Calendar 3.4 Yes No No No No
MBS( "Calendar.Calendar.SetColor"; calendarRef; Color )   More


Parameter Description Example value
calendarRef The id of the calendar to query. $calendarRef
Color The color to use. Can be a color name or hex notation like in HTML. "red"


Returns OK or error message.


Sets the color for a calendar.


Sets calendar to red:

MBS( "Calendar.Calendar.SetColor"; $CalendarID; "#FF0000" )

See also

Example Databases

Created 18th August 2014, last changed 18th August 2014

Calendar.Calendar.IsEditable   -   Calendar.Calendar.SetNotes

Feedback: Report problem or ask question.

MBS Xojo Plugins