<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : EnsureVisible a CalendarEvent</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : EnsureVisible a CalendarEvent]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 28 May 2026 07:00:02 +0000</pubDate>
  <lastBuildDate>Sat, 17 Sep 2011 08:29:04 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=18809</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[EnsureVisible a CalendarEvent : Hi McKloony  That&amp;#039;s my...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18809&amp;PID=66344&amp;title=ensurevisible-a-calendarevent#66344</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=841">Fabian</a><br /><strong>Subject:</strong> 18809<br /><strong>Posted:</strong> 17 September 2011 at 8:29am<br /><br />Hi McKloony<DIV>&nbsp;</DIV><DIV>That's my solution (TERID is the appointments data base ID stored as proprty in each event):</DIV><DIV>&nbsp;</DIV><DIV>For j = 0 To CalendarControl1.ActiveView.DaysCount - 1<BR>&nbsp; For k = 0 To CalendarControl1.ActiveView.Days(j).ViewGroups.Count - 1<BR>&nbsp;&nbsp;&nbsp; For&nbsp;l = 0 To CalendarControl1.ActiveView.Days(j).ViewGroups(k).ViewEvents.Count - 1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If CalendarControl1.ActiveView.Days(j).ViewGroups(k).ViewEvents(l).Event.CustomProperties.Property("TERID") = TERID Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call CalendarControl1.DayView.EnsureVisible(CalendarControl1.ActiveView.Days(j).ViewGroups(k).ViewEvents(l))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call CalendarControl1.ActiveView.SelectViewEvent(CalendarControl1.ActiveView.Days(j).ViewGroups(k).ViewEvents(l), True)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CalendarControl1.Populate<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit For<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp; Next l&nbsp; </DIV><DIV>&nbsp; Next k<BR>Next j</DIV><DIV>&nbsp;</DIV><DIV>Hope that helps</DIV><DIV>&nbsp;</DIV><DIV>Fabian</DIV>]]>
   </description>
   <pubDate>Sat, 17 Sep 2011 08:29:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18809&amp;PID=66344&amp;title=ensurevisible-a-calendarevent#66344</guid>
  </item> 
  <item>
   <title><![CDATA[EnsureVisible a CalendarEvent :    Calendar.ActiveView.SelectViewEvent...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18809&amp;PID=66342&amp;title=ensurevisible-a-calendarevent#66342</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2660">McKloony</a><br /><strong>Subject:</strong> 18809<br /><strong>Posted:</strong> 17 September 2011 at 4:33am<br /><br />Calendar.ActiveView.SelectViewEvent needs a CalendarViewEvent Object. I only have a CalendarEvent Object in my function.<div></div>]]>
   </description>
   <pubDate>Sat, 17 Sep 2011 04:33:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18809&amp;PID=66342&amp;title=ensurevisible-a-calendarevent#66342</guid>
  </item> 
  <item>
   <title><![CDATA[EnsureVisible a CalendarEvent :    Yes I tried, but presumably...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18809&amp;PID=66328&amp;title=ensurevisible-a-calendarevent#66328</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2660">McKloony</a><br /><strong>Subject:</strong> 18809<br /><strong>Posted:</strong> 16 September 2011 at 7:38am<br /><br />Yes I tried, but <span>presumably I have the wrong syntax.<div></div><div>I dont know how to get a CalendarViewEvent from an CalendarEvent?</div><div></div></span><div>&nbsp;</div>]]>
   </description>
   <pubDate>Fri, 16 Sep 2011 07:38:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18809&amp;PID=66328&amp;title=ensurevisible-a-calendarevent#66328</guid>
  </item> 
  <item>
   <title><![CDATA[EnsureVisible a CalendarEvent : did you try Calendar.ActiveView.SelectViewEvent?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18809&amp;PID=66314&amp;title=ensurevisible-a-calendarevent#66314</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 18809<br /><strong>Posted:</strong> 15 September 2011 at 3:29pm<br /><br /><span ="Apple-style-span" style=": rgb248, 248, 252; ">did you try Calendar.ActiveView.</span>SelectViewEvent?]]>
   </description>
   <pubDate>Thu, 15 Sep 2011 15:29:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18809&amp;PID=66314&amp;title=ensurevisible-a-calendarevent#66314</guid>
  </item> 
  <item>
   <title><![CDATA[EnsureVisible a CalendarEvent :    How can I EnsureVisible...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18809&amp;PID=65858&amp;title=ensurevisible-a-calendarevent#65858</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2660">McKloony</a><br /><strong>Subject:</strong> 18809<br /><strong>Posted:</strong> 10 August 2011 at 7:01am<br /><br />How can I EnsureVisible a CalendarEvent. If I add a new CalendarEvent, that is one or two weeks in the future, i want to see this immediately after adding.<div></div>]]>
   </description>
   <pubDate>Wed, 10 Aug 2011 07:01:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18809&amp;PID=65858&amp;title=ensurevisible-a-calendarevent#65858</guid>
  </item> 
 </channel>
</rss>