Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - ScrollToCurrentTime ??
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ScrollToCurrentTime ??

 Post Reply Post Reply
Author
Message
Kal250 View Drop Down
Newbie
Newbie


Joined: 25 October 2006
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kal250 Quote  Post ReplyReply Direct Link To This Post Topic: ScrollToCurrentTime ??
    Posted: 05 December 2006 at 6:52pm

Would it be possibe to add a ScrollToCurrentTime method similiar to ScrollToWorkDayBegin??

 
Thanx
 
 
Back to Top
dentor View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2005
Location: France
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote dentor Quote  Post ReplyReply Direct Link To This Post Posted: 08 December 2006 at 9:32am
Hello,
 
This is the Sub I use to scroll Calendar to the current time:
 
Private Sub ScrollToCurrentTime()
   Dim Indx As Long
   Indx = Calendar.DayView.GetCellNumber(Format(Now, "hh:00"))
   Calendar.DayView.ScrollV Indx
End Sub
 
Perhaps, it is what you are looking for.
 
Back to Top
Kal250 View Drop Down
Newbie
Newbie


Joined: 25 October 2006
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kal250 Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2006 at 3:58pm
Yes
 
Thank -you
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.156 seconds.