BUG: TimeScale in Calendar DayView is incorrect |
Post Reply |
Author | |
Stilki
Groupie Joined: 27 May 2005 Status: Offline Points: 70 |
Post Options
Thanks(0)
Posted: 14 January 2009 at 4:17am |
There seems to be a bug in the TimeScale of the Calendar control in DayView.
The picture below is the Calendar sample from CJ samples. The picture shows the changes in code that I have made to the sample; CalendarControl.DayView.TimeScale = 45 CalendarControl.DayView.TimeScaleMinTime = #9:00:00 AM# CalendarControl.DayView.TimeScaleMaxTime = #6:00:00 PM# CalendarControl.Options.WorkDayStartTime = #9:00:00 AM# CalendarControl.Options.WorkDayEndTime = #6:00:00 PM# When you run the sample in DayView and if you KeyDown with the keyboard from the top of the DayView cell (9:00 AM) to the Bottom, you will see in the immediate window the date entries are correct for a TIMESCALE INTERVAL of 45 minutes. BUT, the Calendar Control is displaying the wrong TimeScale Caption entries on the left of the control. If you double-click the last cell in the DayView, you will notice that the Start and End times (5:15PM to 6:00PM) are correct in the Calendar Event window. CJ, can you please verify if this is a bug or just a constraint that we have to live with, that being non-standard TimeScales (eg 45 mins.) |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Timescale will only show 5,10,15,30,60
|
|
Stilki
Groupie Joined: 27 May 2005 Status: Offline Points: 70 |
Post Options
Thanks(0)
|
The TimeScale works if it is set to 6,10,20,90,120 etc..!
It seems to work if it is a multiple of 60. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |