calendar showing multiple months

  • Thread starter Thread starter Mark Andrews
  • Start date Start date
M

Mark Andrews

I'm looking for a calendar that will let a user pick MULTIPLE days from a
large calendar (6 months or maybe a year).

Stephen Lebans version looks good except I don't think it supports multiple
day selecting. The days selected might be the first wednesday of each month
for 5 months for example.

I would use this to then create records in the database for those days
selected.

Can anyone point me to a NON ActiveX version.

I already know of some good activeX versions (but hoping to avoid using
ActiveX for this project, since I only need date selection).


Mark
 
Stephen's implementation of the built-in Windows calendar supports picking
multiple days.

Open the Customer form in his example and double-click on the date in the
"Show Range of Dates" area.
 
Doug,

I only see that you can select a continuous range of dates. Example March
17 thru 22
I want to select March 17, March 24, April 13

Am I missing something?
Mark
 
Sorry, I don't have the time to go through his code at the moment, but I
seem to recall that there was a way to bold specific days: there's a private
type defined in class module clsCalendar, if memory serves.
 
Ok I found this post by Stephen Lebans when searching to see if someone ever
changed it to allow for multiple day selection:

"Boris you would have to modify my Calendar but it does expose the
DayState property which can be used to mark multiple days. The issue
would be to modify the Calendar to only close when the "Close Calendar"
button/menu is clicked. Additonally, you would have to use the exposed
MCN_SELCHANGE message to raise an event in the MonthCalendar class. From
this event you would update the DayState property to include the date
the user just clicked on."

Anyone feel like giving this a try? I'm torn between going down this route
or just using the activeX control
I know works well.

Mark
 
Back
Top