IR Framework

Calendar.ColorDefault Property

Gets or sets the default background color of the day boxes on the Calendar object.
object.ColorDefault ([value])

Arguments

object
Required. Always the name of a Calendar object.


value
Optional. The value to which to set the property. This can be an integer RGB value (0-16,777,215) or a string containing a six-digit hex RGB value (000000-ffffff).



Return Value

The Calendar.ColorDefault property returns an integer representing the current default color of the background of the individual day boxes on the Calendar.



Remarks

When attemting to set the property value, it is good to check the return value to ensure that the value was set.

Calendar Example

Applies To:

Calendar Object



Requirements