Print Page | Close Window

Whole day as timescale

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=15473
Printed Date: 27 April 2024 at 3:33pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Whole day as timescale
Posted By: edella
Subject: Whole day as timescale
Date Posted: 27 October 2009 at 12:22pm
Hello.
If I want to work on the entire day (24 hours) as timescale, how can I obtain it?
I tried with:
...TimeScaleMinTime = #00:00:00 AM#
...TimeScaleMaxTime = #00:00:00 PM#

and with:
...TimeScaleMinTime = #00:00:00 AM#
...TimeScaleMaxTime = #23:59:59 PM#

but nothing.
With the second test, the last hour (from 23:00:00 to 23:59:59) has only 3 sections of 15 minutes, and I can never reach midnight!
ARGHHHHHHH!

Someone has an idea how to solve this?
Thanks & Bye.



Replies:
Posted By: mdoubson
Date Posted: 29 October 2009 at 3:40pm
    CalendarControl.DayView.TimeScaleMinTime = TimeValue(#12:00:00 AM#)
    CalendarControl.DayView.TimeScaleMaxTime = TimeValue(#11:59:59 PM#)


-------------
Mark Doubson, Ph.D.


Posted By: edella
Date Posted: 30 October 2009 at 4:08am
Thanks mdoubson, but I already tried that ... as you can see, I can never reach midnight, because tha last day slice is absent!
How can I have an appointment that goes from midnight to next midnight (24 hours)?
I can't believe that nobody had this problem before...


Posted By: mdoubson
Date Posted: 30 October 2009 at 9:36am
TimeValue(#12:00:00 AM#) is midnight, TimeValue(#11:59:59 PM#) is next midnight in [0:24) range


-------------
Mark Doubson, Ph.D.


Posted By: mdoubson
Date Posted: 30 October 2009 at 11:43am
btw - you need to upgrade to current 13.2.1 to have full [0:24) range in timescale - prev version did not show last time slice

-------------
Mark Doubson, Ph.D.


Posted By: edella
Date Posted: 02 November 2009 at 3:28am
All right mdoubson ... the version is the problem.
Many thanks!
Enrico.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net