Set view to workweekmask |
Post Reply |
Author | |
Yonger
Newbie Joined: 08 August 2005 Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 24 August 2005 at 7:52am |
The calendar object on my form is not full sized as in your examples so I have to scroll to see the entire day. By default it always comes up at midnight and all the events are below. Is there a way in code to have the calendar come up with the workweek mask in view when the calendar is loaded to avoid all this scrolling? |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi,
You can use available scrolling methods to adjust your view to the required cell. Use ScrollToWorkDayBegin when you'd like to go to the beginning of the work day. Or you can scroll anywhere via DayView.ScrollV method. Below is the example of how to scroll to the beginning of the work day using it:
In a similar manner you can scroll to any required cell, for example to the beginning of the first event. -- WBR, Serge |
|
Yonger
Newbie Joined: 08 August 2005 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
That works. Thanks!
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |