Applies to

MonthCalendar controls


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


This property does not work in MonthCalendar controls on the Windows 7/8.1/10 operating system.

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)