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  

Calendar.Calendar.SetColor

Sets the color for a calendar.

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

MBS( "Calendar.Calendar.SetColor"; calendarRef; Color )

Parameters

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"

Result

Returns OK or error message.

Description

Sets the color for a calendar.

Examples

Sets calendar to red:

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

See also

Example Databases


Calendar.Calendar.IsEditable   -   Calendar.Calendar.SetNotes

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos