Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Anyone know how i can bold multiple days into the month calendar control? I'm using a loop to get the creation dates of files in a folder, and i want to hilight/bold them on the calendar so people can tell whether the files exist for that date.

 

Thanks,

Anthony

  • *Experts*
Posted
Anyone know how i can bold multiple days into the month calendar control? I'm using a loop to get the creation dates of files in a folder, and i want to hilight/bold them on the calendar so people can tell whether the files exist for that date.

 

Thanks,

Anthony

 

Dim boldeddates() As Date

 

boldeddates = New Date() {#4/21/2004#, #4/22/2004#, #4/29/2004#}

 

MonthCalendar1.BoldedDates = boldeddates

 

Jon

Posted
Another alternative is .AddBoldedDate(theDate) when you're adding one bolded date at a time. Just don't forget to call .UpdateBoldedDates() afterwards.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...