Print Page | Close Window

ScrollToCurrentTime ??

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=5697
Printed Date: 23 November 2024 at 12:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ScrollToCurrentTime ??
Posted By: Kal250
Subject: ScrollToCurrentTime ??
Date Posted: 05 December 2006 at 6:52pm

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

 
Thanx
 
 



Replies:
Posted By: dentor
Date 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.
 


Posted By: Kal250
Date Posted: 11 December 2006 at 3:58pm
Yes
 
Thank -you



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net