Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - How to specify number of months to Scroll
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to specify number of months to Scroll

 Post Reply Post Reply
Author
Message
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post Topic: How to specify number of months to Scroll
    Posted: 14 March 2007 at 1:33am
Hi team,

I have a datepicker on a form, with 3 columns, two rows. The form is resizable. The datepicker resizes on form resize. So the bigger the size the more months are viewable.

By default when you scroll to previous/next month, by default the count is one month.

How can i specify the number of months to scroll based on the number of months  in view? e.g if am viewing 12 months, number of scroll months should be twelve, and so on?

Thanks
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 22 March 2007 at 6:56pm
Hmm...

For C++/MFC version of the control there is a property called MonthDelta.
This is a number of months to scroll.

We'll try to add the same option for ActiveX by the next release.

--
WBR,
Serge
Back to Top
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post Posted: 12 April 2007 at 5:58am
thats great.

i still got similar issue but i guess this can be done by code.

I am trying to achieve the same functionality on the calendar control in all the four views(dayview, weekview, workweekview and monthview)

I managed to do for dayview and monthview but wont get it right for weekview & workweek.

Am using this line of code:

CalendarControl.DayView.ShowDay CalendarControl.DayView.days(0).Date - 1(or +1)

any hint as to how i can achieve the same on workweek/Workweekview will be appreciated.

thanks in advance.


Product: Xtreme SuitePro (ActiveX) version 13.1
Platform: Windows XP SP 3
Language: Visual Basic 6 SP6
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.