<?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 : Request: hide events</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Request: hide events]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 29 May 2026 17:37:34 +0000</pubDate>
  <lastBuildDate>Wed, 29 Jul 2009 10:22:16 +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=13740</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[Request: hide events : Is removing event during PrePopulate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=51436&amp;title=request-hide-events#51436</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13740<br /><strong>Posted:</strong> 29 July 2009 at 10:22am<br /><br />Is removing event during PrePopulate &nbsp;will also remove it from Reminders? <DIV>&nbsp;</DIV><DIV>I add new event property - EventVisible - instead of removing events. <DIV>You can set it in PrePopulate function call based on your model logic</DIV><DIV>&nbsp;</DIV><DIV>Private Sub CalendarControl_PrePopulate(ByVal ViewGroup As XtremeCalendarControl.CalendarViewGroup, ByVal Events As XtremeCalendarControl.CalendarEvents)<BR>...................................</DIV><DIV>pEvent.EventVisible = False</DIV><DIV>...................................</DIV><DIV>&nbsp;</DIV><DIV>Use fresh activex 13.1 upgrade from here - </DIV><DIV><a href="https://forum.codejock.com/uploads/DemoVersi&#111;n/CalendarC&#111;ntrolUpdated.rar" target="_blank">https://forum.codejock.com/uploads/DemoVersion/CalendarControlUpdated.rar</A><BR>unrar it on same place your official 13.1 located. Rename the same way as official filename use<BR>No need to re-registrate as you already had it</DIV><DIV>&nbsp;</DIV><DIV>I am interesting in your testing with hidden reminders - please post<BR></DIV></DIV>]]>
   </description>
   <pubDate>Wed, 29 Jul 2009 10:22:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=51436&amp;title=request-hide-events#51436</guid>
  </item> 
  <item>
   <title><![CDATA[Request: hide events : To filter you can use the PrePopulate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=51435&amp;title=request-hide-events#51435</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 13740<br /><strong>Posted:</strong> 29 July 2009 at 10:10am<br /><br />To filter you can use the PrePopulate event combined with something like CustomProperties as a filter.<br><br>Here is one way to filter events. It is a very basic sample using PrePopulate.<br><br>This sample assumes you have a custom property called "Name" for yourevents, and some global variable named strName that holds the name ofthe user you want to view.&nbsp;The sample below will see if the event has aproperty with "name", if it doesn't, then it checks to see if the nameis equal to strName, if it's not, it will hide it (this only hides theevent, not remove it from the data source).<br><br>You can use Prepopulate event to hide some events in the Calendar display. <br><br>PrivateSub CalendarControl_PrePopulate(ByVal ViewGroup AsXtremeCalendarControl.CalendarViewGroup, ByVal Events AsXtremeCalendarControl.CalendarEvents)<br><br>&nbsp;&nbsp;&nbsp; If Events.Count &gt; 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim i As Long<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For i = Events.Count - 1 To 0 Step -1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Not Events(i).CustomProperties("name") = "" Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Not Events(i).CustomProperties("name") = strName Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Events.Remove i<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br>&nbsp;&nbsp;&nbsp; End If<br>End Sub<br><br>Here is another version:<br><br><br>This assumesyou have some BOOL that specifies when filtering is enabled(bFilterMode). Also assumes your filter text is stored in a globalvariable (sFilterText)<br><br>The sample simply compares the Subject ofthe event to some text, if they match, then the event will bedisplayed, if they don't match, it is not displayed. This is onlyvisual, no data is removed from the database.<br><br>Obviously you can improve on the compare, the following sample assumes an exact match.<br><br>Private Sub CalendarControl_PrePopulate(ByVal ViewGroup AsXtremeCalendarControl.CalendarViewGroup, ByVal Events AsXtremeCalendarControl.CalendarEvents)<br> <br>&nbsp;Dim pEvent As CalendarEvent<br>&nbsp;Dim x As Integer<br>&nbsp;x = 0<br>&nbsp;&nbsp;<br>&nbsp;For Each pEvent In Events<br>&nbsp;&nbsp;If bFilterMode Then<br>&nbsp;&nbsp;&nbsp;If pEvent.Subject &lt;&gt; sFilterText Then<br>&nbsp;&nbsp;&nbsp;&nbsp;Events.Remove x<br>&nbsp;&nbsp;&nbsp;End If<br>&nbsp;&nbsp;&nbsp;x = x + 1<br>&nbsp;&nbsp;End If<br>&nbsp;Next<br>&nbsp;&nbsp;<br>End Sub<br><br>Hope this helps]]>
   </description>
   <pubDate>Wed, 29 Jul 2009 10:10:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=51435&amp;title=request-hide-events#51435</guid>
  </item> 
  <item>
   <title><![CDATA[Request: hide events : Hi,  I&amp;#039;m in the stage I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=49611&amp;title=request-hide-events#49611</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4820">skiman</a><br /><strong>Subject:</strong> 13740<br /><strong>Posted:</strong> 03 June 2009 at 3:32pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I'm in the stage I have to implement the hide/view of events according to some properties of an event.</DIV><DIV>&nbsp;</DIV><DIV>Is there any progress for this? Is this something that will be added in the near future?</DIV><DIV>&nbsp;</DIV><DIV>Thanks for an answer about this.</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>Chris.</DIV>]]>
   </description>
   <pubDate>Wed, 03 Jun 2009 15:32:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=49611&amp;title=request-hide-events#49611</guid>
  </item> 
  <item>
   <title><![CDATA[Request: hide events : Hi Mark,   Yes, of course. I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=48615&amp;title=request-hide-events#48615</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4820">skiman</a><br /><strong>Subject:</strong> 13740<br /><strong>Posted:</strong> 04 May 2009 at 11:39am<br /><br />Hi Mark, <DIV>&nbsp;</DIV><DIV>Yes, of course. I gave the 'label' as sample. </DIV><DIV>&nbsp;</DIV><DIV>The hide/view possibility is more a status of the event. It is the programmer who has to decide if the event must be shown or not. This could be based on each property of an event. </DIV><DIV>&nbsp;</DIV><DIV>Thanks for considering this feature.</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>&nbsp;</DIV><DIV>Chris.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 04 May 2009 11:39:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=48615&amp;title=request-hide-events#48615</guid>
  </item> 
  <item>
   <title><![CDATA[Request: hide events : Essentially I am doing now more...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=48560&amp;title=request-hide-events#48560</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13740<br /><strong>Posted:</strong> 02 May 2009 at 6:49pm<br /><br />Essentially I am doing now more generic model to control the way user can operate with event - View, Add, Modify, Delete - based on schedule type which I see as Public, Protected and Private and concept of Shedule Owner. But if we choose some of common event property to use as event view&nbsp;regulator (e.g. Category) we can make it works and add UI to show or hide events of specific category. Current event properties (Subject, Location, Body,...) are not strict and developer can fit any model in such scheme or extend it so any ideas to show / hide some events based on label value looks very weak and not good for most users. We should make our model generic enough to fit most users need.]]>
   </description>
   <pubDate>Sat, 02 May 2009 18:49:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=48560&amp;title=request-hide-events#48560</guid>
  </item> 
  <item>
   <title><![CDATA[Request: hide events :   mdoubson wrote:Use your own...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=48557&amp;title=request-hide-events#48557</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3094">dmsa</a><br /><strong>Subject:</strong> 13740<br /><strong>Posted:</strong> 02 May 2009 at 5:22am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by mdoubson" alt="Originally posted by mdoubson" style="vertical-align: text-bottom;" /> <strong>mdoubson wrote:</strong><br /><br />Use your own data provider and implement filter on load - looks this is simple</td></tr></table> <DIV>&nbsp;</DIV><DIV>Hiding events by not loading them is dangerous, as any reminders for the events <strong>not</strong> loaded would not fire. IMHO, what's needed is some kind of visible_state property for the event. This would be really usefull where for example I simply want to look at a particular category. Eg: show me just the return phone calls I have to make today. What I don't want is the possiblility of missing a&nbsp;reminder for a&nbsp;meeting, while I'm looking at them.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 02 May 2009 05:22:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=48557&amp;title=request-hide-events#48557</guid>
  </item> 
  <item>
   <title><![CDATA[Request: hide events : Hi,  Maybe a filter for the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=48554&amp;title=request-hide-events#48554</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4820">skiman</a><br /><strong>Subject:</strong> 13740<br /><strong>Posted:</strong> 02 May 2009 at 2:01am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Maybe a filter for the calendar, which could be changed on the fly? That would also be a solution and a powerfull addition.</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>Chris Andries</DIV>]]>
   </description>
   <pubDate>Sat, 02 May 2009 02:01:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=48554&amp;title=request-hide-events#48554</guid>
  </item> 
  <item>
   <title><![CDATA[Request: hide events : Hi,  Yes, I can do that, but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=48553&amp;title=request-hide-events#48553</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4820">skiman</a><br /><strong>Subject:</strong> 13740<br /><strong>Posted:</strong> 02 May 2009 at 2:00am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Yes, I can do that, but I would prefer the possibility to change the displayed events on the fly.</DIV><DIV>&nbsp;</DIV><DIV>I'm using labels for different kind of events. At startup I load all the events and display them all. I would like to select the labels I want to see, and display them. If I need to reload the calendar each time, that will take more time. Otherwise if I could hide/display them, that would work a lot faster.</DIV><DIV>&nbsp;</DIV><DIV>I can hide/display the events of the current view according to the displayed dates, and process the others in the background. I suppose that this would work very fast.</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>Chris Andries</DIV>]]>
   </description>
   <pubDate>Sat, 02 May 2009 02:00:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=48553&amp;title=request-hide-events#48553</guid>
  </item> 
  <item>
   <title><![CDATA[Request: hide events : Use your own data provider and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=48552&amp;title=request-hide-events#48552</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13740<br /><strong>Posted:</strong> 01 May 2009 at 6:14pm<br /><br />Use your own data provider and implement filter on load - looks this is simple]]>
   </description>
   <pubDate>Fri, 01 May 2009 18:14:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=48552&amp;title=request-hide-events#48552</guid>
  </item> 
  <item>
   <title><![CDATA[Request: hide events : Hi,  Would it be possible to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=47641&amp;title=request-hide-events#47641</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4820">skiman</a><br /><strong>Subject:</strong> 13740<br /><strong>Posted:</strong> 07 April 2009 at 4:26am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Would it be possible to add HIDE and SHOW methods to the calendar events?</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>Chris.</DIV>]]>
   </description>
   <pubDate>Tue, 07 Apr 2009 04:26:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13740&amp;PID=47641&amp;title=request-hide-events#47641</guid>
  </item> 
 </channel>
</rss>