Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 378
  • Last Modified:

Issues with changing year on windows form calendar control

I have a windows form in a vb.net project that has a calendar control on it.

When I try to change the year by using the spin button control the months are sometimes displayed with only the dates that are equal to or less than the date selected.

For example, I bring up the form and September 2010 is displayed with the current date of the 8th selected. I go to the spin button and change year to 2009. The control now displays only the 30, 31, 1, 2,3,4,5,6,7 and 8 (the 8 is cut off).  If I click on the control a few times all the days of the month are displayed.  

I was really hoping to scroll through the years with all dates displayed.

Is there a way to do this?

0
johnnyg123
Asked:
johnnyg123
  • 4
  • 3
1 Solution
 
johnnyg123Author Commented:
I have attached a word doc with screen prints
change-year-issue.doc
0
 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
What kind of calendar control  your are using....
Datetime Picker does not do that...
0
 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
Also there is amonth Calendar..in toolbox
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
What VS Version are u using?Is it a custom Control?
0
 
johnnyg123Author Commented:
the standard monthcalendar control in vs 2005
0
 
ZhaolaiCommented:
I can re-produce it even in vb 2010. I believe it's a bug. Use DateTimePicker instead.
0
 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
1.Check Your SelectionRange in calendar Properties...
2.try to change the TitleForeColor, to Red just to see what happens...
0
 
johnnyg123Author Commented:
Gotta love Microsoft
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now