Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - BUG: TimeScale in Calendar DayView is incorrect
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

BUG: TimeScale in Calendar DayView is incorrect

 Post Reply Post Reply
Author
Message
Stilki View Drop Down
Groupie
Groupie


Joined: 27 May 2005
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Stilki Quote  Post ReplyReply Direct Link To This Post Topic: BUG: TimeScale in Calendar DayView is incorrect
    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.)



Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 14 January 2009 at 3:21pm
Timescale will only show 5,10,15,30,60
Back to Top
Stilki View Drop Down
Groupie
Groupie


Joined: 27 May 2005
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Stilki Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2009 at 2:13am
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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.