![]()  | 
 
How to hide events | 
 
    Post Reply  
   | 
  
| Author | |
   
   younicke  
   
   Senior Member  
   Joined: 11 March 2005 Status: Offline Points: 107  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: How to hide eventsPosted: 26 February 2008 at 5:40am  | 
 
| 
   
    does anyone known how to hide an event? say i have an event collection and i dont want some of it to be shown on the calendar.  | 
 |
![]()  | 
 |
   
   dentor  
   
   Senior Member  
   Joined: 30 November 2005 Location: France Status: Offline Points: 102  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 26 February 2008 at 7:33am | 
 
| 
   
    
   You can use Prepopulate event to hide some events in the Calendar display.
 
   
  An example of code using to hide events with label property equal to 3: 
Private Sub Calendar_PrePopulate(ByVal ViewGroup As XtremeCalendarControl.CalendarViewGroup, ByVal Events As XtremeCalendarControl.CalendarEvents) 
Dim i As Long For i = Events.Count - 1 To 0 Step -1 If Events(i).Label = 3 Then Events.Remove i End If Next End Sub  | 
 |
![]()  | 
 |
   
   younicke  
   
   Senior Member  
   Joined: 11 March 2005 Status: Offline Points: 107  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 26 February 2008 at 11:03am | 
 
| 
   
    
   thanks again dentor!
    
   
   | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |