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.  

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 and ToolTipWidth properties to specify the 

The tooltip supports the foolowing 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


Send comments on this topic.
© 1999-2006 Exontrol Inc, Software. All rights reserved.