property Event.Comment as String
Retrieves or sets a value that indicates the event's comment. ( The comment shows up when the cursor is over the event ).

TypeDescription
String A string expression that defines the event's comment. The Value supports HTML format like shown bellow.

If the Event object has associated a comment or a comment's description, a tooltip appears if the cursor is over the event's date.  Use the ComentTitle to defines the title for the event's comment. Use the properties like: ToolTipDelay, ToolTipPopDelay, ToolTipFont and ToolTipWidth properties to specify the options for the tooltips. Use the CommentBackColor property to specify the color being used to mark the dates with comments. Use the Caption property to display a HTML caption to the event.

The Comment property supports the following HTML tags:

The following sample shows how to attach a comment to "a day before yesterday" date:

Private Sub Form_Load()
    With CalendarCombo1
        With .Events.Add(Date)
            .CommentTitle = "Just a title"
            .Comment = "This is a bit of text that should appear when the mouse is over the date.<br><r><dotline><upline><b><fgcolor=0000FF>Exontrol ExCalendar</b></fgcolor>"
        End With
    End With
End Sub