Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » CalendarCtrl » Setting FirstDay puts day numbers out of alignment with day names
Re: Setting FirstDay puts day numbers out of alignment with day names [message #35650 is a reply to message #35637] Fri, 09 March 2012 22:38 Go to previous messageGo to previous message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 221
Registered: June 2011
Experienced Member
Sorry, I don't think I was clear enough about the problem. The problem is that if you use FirstDay(SATURDAY) as an example, the current behavior does move the weekdays (Sa Su Mo Tu We Th Fr), but it does not shift the dates too, so you could have day 3 of the month be on a Wednesday when it's actually a Friday, etc.

Adding that small piece of code will shift the dates over so they line back up with their respective day names when you call FirstDay.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DropTime and WhenAction() problem
Next Topic: [Minor bug & patch] CalendarCtrl should offer support for native cursor icon.
Goto Forum:
  


Current Time: Sun May 12 21:22:41 CEST 2024

Total time taken to generate the page: 0.02543 seconds