search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Default start time

Asked by Svend Grønlund
3 years ago.

Scheduler: A customer uses all hours of the day, but would like the default calender view to focus on the normal working hour. Eg.: .BusinessBeginsHour = 0; .BusinessEndsHour = 23; Wanted something like: .DefaultBeginHour = 9; Can that be achieved?

Answer posted by Dan Letecky [DayPilot]
3 years ago.

In the Calendar control, you can use ScrollPositionHour property to set the initial scrollbar position.

Comment posted by Svend Grønlund
3 years ago.

Thank you for your answer, although ScrollPositionHour does not seem to exist, but it guided me on the right direction, so I found .SetScrollX :-)

Comment posted by Dan Letecky [DayPilot]
3 years ago.

Thanks for the update - somehow I assumed you were talking about the Calendar control. In the Scheduler, SetScrollX() is the way to go. ;-)

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.