|
-
Jun 14th, 2013, 07:04 AM
#1
Thread Starter
Lively Member
Change the selected date of a MonthCalendar?
I have searched on Google and MSDN for a way to change the currently selected date of a month calendar through code instead of the user clicking but I can't find a way to do it, does anybody know how?
-
Jun 14th, 2013, 07:49 AM
#2
Re: Change the selected date of a MonthCalendar?
How do you get the selection in code? That's how you set it too. Assign the date you want to the SelectionStart property and then (I'm not sure whether this is required or not) assign the same date to the SelectionEnd.
-
Jun 14th, 2013, 07:56 AM
#3
Thread Starter
Lively Member
Re: Change the selected date of a MonthCalendar?
Oh yes I don't know why that didn't occur to me, I guess I was just thinking you could only read the selection that way. Thanks
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|