10-25-2007 05:24 PM
10-26-2007 02:23 PM
10-26-2007 03:02 PM
Thanks, I actually did end up switching to that calendar (Microsoft Monthview, right?). I played around with the multiple date select on it, but couldn't get a Value Change event to work, or a Mouse Up, so I ended up using a Mouse Down event, which didn't fit well with the multiple date select. Instead I have a string indicator beside the calendar showing which dates have been selected. Not what I envisioned, but it works.
Interesting enough, to get the Mouse Down event to work how I wanted it to, I had to turn Multiselect on and set the number of dates possible to select as 1. Otherwise the Mouse Down event would have the previous value.
Thanks for helping!
Michael
10-26-2007 03:13 PM
03-24-2010 02:02 PM
Hello
I am trying to select two dates from the calendar for my program, as begin and end date, but for some reason I can't do it
Arjun
03-24-2010 04:09 PM
03-25-2010 08:21 AM
I am trying to use a .net control. It doesn't matter, if you want me to do it in .net or activeX as long as you can get it to work.Just getting two dates from the same calendar, is possible and how?
Thanks
Arjun
03-25-2010 11:43 AM
The .NET MonthCalendar control does not have the capability to select two non-contiguous dates. You can select a range. I'm not aware of a .NET calendar that can do what you ask, but that doesn't mean one doesn't exist. As far as I know, the ActiveX one can't do that either. You can try Google to see if one exists.
Or, you could just use two controls.
03-25-2010 11:44 AM
If you can use .NET then try using the example called NET Event Callback for Calendar Control(you can find this in the example finder - Help Menu > Find Examples... and search for ".net")
Cheers,
03-25-2010 12:56 PM