switch to dayview with attached calendar |
Post Reply |
Author | |
sfn555
Newbie Joined: 08 March 2006 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 11 March 2006 at 2:55am |
Hi,
When I use AttachToCalendar the Calendar switches to a view according to the selection of the datepicker and vice versa. Now I don't want the view to change when the user clicks on a single day in the datepicker. Rather the calendar should stay in, let's say, weekview just changing the displayed week. Is there an easy way to accomplish this? Thanks! |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi,
For accomplishing this you'll have to create your own CalendarController class with the modified logic. The easiest way would be to inherit your class from CXTPCalendarController and override a logic of event handler OnEvent_DatePicker() similar to how it is implemented in existing class. Note that this solution is not for ActiveX version, which has AttachToCalendar method. No such solution available for ActiveX. -- WBR, Serge |
|
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 |