Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Whole day as timescale
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Whole day as timescale

 Post Reply Post Reply
Author
Message
edella View Drop Down
Newbie
Newbie


Joined: 27 October 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote edella Quote  Post ReplyReply Direct Link To This Post Topic: Whole day as timescale
    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.
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 29 October 2009 at 3:40pm
    CalendarControl.DayView.TimeScaleMinTime = TimeValue(#12:00:00 AM#)
    CalendarControl.DayView.TimeScaleMaxTime = TimeValue(#11:59:59 PM#)
Back to Top
edella View Drop Down
Newbie
Newbie


Joined: 27 October 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote edella Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
edella View Drop Down
Newbie
Newbie


Joined: 27 October 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote edella Quote  Post ReplyReply Direct Link To This Post Posted: 02 November 2009 at 3:28am
All right mdoubson ... the version is the problem.
Many thanks!
Enrico.
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.