-
[RESOLVED] Calendar
I have this calendar on my form.
http://www.imagesforme.com/show.php/849516_calendar.JPG
I have one question
How to move calendar on certain date?
For example on 12.11.2009.
Don't confuse yourself with "pro", this is Croatian month for December.
And how to BOLD certain date?
For example day 13 on calendar on certain month and year
Thanks!
-
Re: Calendar
What control is that?
I would use the MonthCalendar control built into .Net and then it has easy ways to change the date and add bolded dates. To change the currently selected date:
Code:
MonthCalendar1.SelectionStart = Date.Today.AddDays(30)
To add a bolded date, you can do this:
Code:
MonthCalendar1.AddBoldedDate(New Date(2010, 1, 13))
-
Re: Calendar
And how to move exactly on today date?
What's code for this button?
And how to de-bold some date?
-
Re: Calendar
To move to Today's date, set your selection start to Date.Today.
The Calendar has an AddBoldedDate method, so logically the RemoveBoldedDate probably removes bolded dates.
-
Re: Calendar