Print Page | Close Window

Day view: set time at top of scroll

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=4657
Printed Date: 03 July 2024 at 4:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Day view: set time at top of scroll
Posted By: nighthawk
Subject: Day view: set time at top of scroll
Date Posted: 25 July 2006 at 2:45pm
In the day view, is there a way to set the time that appears at the top of calendar?  For example, the default is that the topmost time is 12:00 am.  I want the calendar to automatically scroll down until the time 8:00 am is at the top of the day view calendar. 

I've looked at the CalendarControl.DayView.ScrollV function but that will only scroll until a specific time is visible.  I want it to scroll until a specific time is at the very top of the calendar.



Replies:
Posted By: sserge
Date Posted: 30 July 2006 at 6:01pm
If 8 am is your beginning of the work day time, use ScrollToWorkDayBegin method. Otherwise, only ScrollV can help.

Note that it will not scroll 8 am mark up if you can already see 12 pm at the bottom.

I can also recommend to scroll it twice -- firstly to the very bottom of the view, and then scroll up until required time.

--
WBR,
Serge


Posted By: Kal250
Date Posted: 02 November 2006 at 5:47pm
If start time is other than 8am, how do I scroll to other time?
Or is it possible to hide times not used in dayview - example business hours are 9am to 9pm, can times not in this range be removed from dayview?



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