![]()  | 
 
Group Properties | 
 
    Post Reply  
   | 
  
| Author | |
   
   Boris  
   
   Senior Member  
   Joined: 21 June 2007 Location: United Kingdom Status: Offline Points: 179  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Group PropertiesPosted: 08 October 2009 at 5:42am  | 
 
| 
   
    Would any one else support the idea that we could do with a few extra properties. 
First Globally for the Report  
1. HasGroups  Boolean                   (possibly don't need this is GroupCount is not zero)                        
2. HasExpandedGroups Boolean    (read/write so that the programmer can toggle expand/collapse all.) 
3. GroupCount Long 
Then for Each Group 4. GroupID Long                                                        (identifying each group so that you can refer to it quickly) 
5. GroupChildCount Long                                          (count of child rows/records relating to the parent of GroupID) 
6. GroupExpanded Boolean For each GroupID          (indicating that this group is expanded so that it can be toggled. We currently have Expanded 
                                                                                 but you have to enumerate all rows to get to it.) 
Should the row/record have a property stating which group it belongs to? 
 | 
 |
| 
   
     
     Boris 
   
  Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1 Platform: Windows XP (32bit) - SP 3 Language: Visual Basic 6.0 SP6 VS 2005-2008-2010-2013  | 
 |
![]()  | 
 |
   
   mdoubson  
   
   Senior Member  
   Joined: 17 November 2008 Status: Offline Points: 1705  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 09 October 2009 at 5:49pm | 
 
| 
   
    
   Look in the source code for group row - https://forum.codejock.com/uploads/DemoVersion/ReportControlMFCUpdated.rar
    
   
   | 
 |
![]()  | 
 |
    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  |