![]() | Type | Description | ||
| String | A string expression that defines the event's comment. |
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.
The tooltip 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