TitleTextColor

Applies to

MonthCalendar controls

Description

The TitleTextColor property specifies the color used for text in the calendar’s title.

Usage


In a painter

Select the desired color from the TitleTextColor drop-down list on the General tab page of the Properties view.


In scripts

The TitleTextColor property is a long indicating the color to be used for the title for a calendar. If you do not know the long value for the color, choose Design>Custom Colors to determine the red, green, and blue values and then call the RGB function to specify the color in a script.

For example, the following line sets the title text color for the control mc_1:

mc_1.TitleTextColor = RGB(0,0,255)