property Event.Caption as String
Retrieves or sets a value that indicates the event's caption.

TypeDescription
String A String expression that defines the HTML caption to be shown on the date.
By default, the Caption property is "<%day%>", which indicates that the day of the event is displayed on the date. Use the Caption property to display captions, icons, pictures to any date in the calendar panel. Use the <img> HTML tag to display icons loaded using the Use the Images method ( which assign new icons to the control ), or using the HTMLPicture property. For instance, the "<sha><b><%day%></b><r><off -4><sha;;0><fgcolor FF0000><font ;6>ev</sha></sha>" displays the day and the "ev" word with different HTML formats. The BackgroundExt property provides unlimited options to show additional colors, text, icons, images, frames, patterns, ... to any event.

The following screen shot shows HTML captions on dates:

 

The Caption property supports the following HTML tags: