![]()  | 
 
Expand All | 
 
    Post Reply  
   | 
  
| Author | |
   
   Fossil  
   
   Groupie  
   Joined: 29 April 2006 Status: Offline Points: 46  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Expand AllPosted: 19 June 2009 at 2:01pm  | 
 
| 
   
    
   Hi, I see a method was added ExpandAll, is there a CollapseAll? 
   
  thanks  | 
 |
| 
   
     
     Product: Xtreme SuitePro (ActiveX) version 12.0.2
 
   
  Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0  | 
 |
![]()  | 
 |
   
   mav46  
   
   Groupie  
   Joined: 10 November 2006 Location: Italy Status: Offline Points: 63  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 20 May 2010 at 3:48am | 
 
| 
   
    
   Nothing ? CollapseAll don't exists ?
    
   
   | 
 |
| 
   
     
     Product: Xtreme SuitePro (ActiveX) 12.1.1 
 
   
  Platform: Win XP (32bit) Language: Visual Basic 6.0 SP5  | 
 |
![]()  | 
 |
   
   Fabian  
   
   Senior Member  
   Joined: 22 November 2004 Location: Switzerland Status: Offline Points: 336  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 20 May 2010 at 9:40am | 
 
| 
   
    
   Seems that CJ forgot to add one... I miss it too!
 
   
  Fabian 
    | 
 |
| 
   
     
     Product: Xtreme SuitePro (ActiveX) version 16.2.3  
   
  Platform: Windows 7 (32bit) Language: Visual Basic 6.0 / SP6  | 
 |
![]()  | 
 |
   
   SuperMario  
   
   Senior Member  
    
   Joined: 14 February 2004 Status: Offline Points: 18057  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 20 May 2010 at 11:47am | 
 
| 
   
    
   Added. 
   
  However you could do something like this: Private Sub mnuCollapseAllGroups_Click() Dim GroupRow As ReportRow For Each GroupRow In wndReportControl.Rows If GroupRow.GroupRow Then GroupRow.Expanded = False End If Next End Sub  | 
 |
![]()  | 
 |
   
   Aaron  
   
   Senior Member  
   Joined: 29 January 2008 Status: Offline Points: 2192  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 20 May 2010 at 12:31pm | 
 
| 
   
    
   Hi SuperMario,
 
   
  Thanks for that  
  and of course we can use something like your code but it's easier when you have just 1 line of code  
![]()  | 
 |
| 
   
     
     Product: Xtreme SuitePro (ActiveX) version 15.0.2 
 
   
  Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option....  | 
 |
![]()  | 
 |
   
   Fabian  
   
   Senior Member  
   Joined: 22 November 2004 Location: Switzerland Status: Offline Points: 336  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 21 May 2010 at 1:50am | 
 
   
   
 And much, much faster! 
    | 
 |
| 
   
     
     Product: Xtreme SuitePro (ActiveX) version 16.2.3  
   
  Platform: Windows 7 (32bit) Language: Visual Basic 6.0 / SP6  | 
 |
![]()  | 
 |
    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  |