Prevent time scroll up beyond Start Time

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 36
Joined: Tue Mar 31, 2009 2:14 am
Location: SINGAPORE
PostPosted: Fri Oct 11, 2013 4:34 am
In Day and Week view, our start time is 8:00 am. But user is able to scroll the time up all the way to midnight. This is not desirable for us. Is there a way to prevent user to scroll pass 8:00 am ?
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Fri Oct 11, 2013 6:27 am
Hi,

Simply change the script "Time Earlier" by adding the lines shown in blue:

TimeEarlier.png
TimeEarlier.png (55.57 KiB) Viewed 3287 times


You may also want to enforce this by adding an Auto-Enter Calc definition to the field CalendarInterface::TimeStartGlob:

Code: Select all
Max ( Self ; Time ( 8 ; 0 ; 0 ) )


Make sure to uncheck "Do not replace existing value"

=)
John Sindelar
SeedCode

Return to SeedCode Calendar

Who is online

Users browsing this forum: No registered users and 3 guests

cron
(855) SEEDCODE
[email protected]
Follow us: