![]()  | 
 
PlusMinus/Column Expanded | 
 
    Post Reply  
   | 
  
| Author | |
   
   keepITcool  
   
   Groupie  
   Joined: 08 April 2009 Status: Offline Points: 36  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: PlusMinus/Column ExpandedPosted: 19 March 2010 at 7:15am  | 
 
| 
   
    
   
Using 13.1
 
   
  a) When the user clicks the plusminus button the columnheader is left hanging in a "pressed state"  which I dislike.  
How can i set the columnheader back to "normal state", other than using mouseclick APIs? 
b) Setting the Expanded property of the column does nothing other than changing the icon. 
I expected this to behave like a user click, but I have to hide/unhide my columns manually.  
Correct, or am I missing something? 
 | 
 |
| 
   
     
     Xtreme  :SuitePro (ActiveX) version 13.1.0
 
   
  Language: VB 6.0 Platform: WinXP/Win7(32+64bit)  | 
 |
![]()  | 
 |
   
   keepITcool  
   
   Groupie  
   Joined: 08 April 2009 Status: Offline Points: 36  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 19 March 2010 at 8:09am | 
 
| 
   
    
   Just tested 13.3.1:   
 
   
  the "pressed state" problem solved.  
![]() changing the "expanded" property still doesn't DO anything.  
   .. BUT it has an event  ![]() .. can't use 13.3.1 in my production code due to some other issues. 
    | 
 |
| 
   
     
     Xtreme  :SuitePro (ActiveX) version 13.1.0
 
   
  Language: VB 6.0 Platform: WinXP/Win7(32+64bit)  | 
 |
![]()  | 
 |
   
   Aaron  
   
   Senior Member  
   Joined: 29 January 2008 Status: Offline Points: 2192  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 19 March 2010 at 1:28pm | 
 
   
   
 Hi, 
I would expect the same... The property is Read/Write so I would expect expanding column in code would be accomplished with setting .Expanded = True. See help for Expanded property below. Note: this only works with PlusMinus = True 
Thanks, I will add this to my list 
DescriptionSpecifies whether the column is in an expanded state. Property typeRead-write property Syntax (Visual Basic)Public Property Expanded() As Boolean
Remarks
 The Expanded state is only used if PlusMinus is True. PlusMinus specifies whether the column has an arrow icon in the column header that can be clicked to expand the column.  | 
 |
| 
   
     
     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....  | 
 |
![]()  | 
 |
   
   jpbro  
   
   Senior Member  
   Joined: 12 January 2007 Status: Offline Points: 1357  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 19 March 2010 at 1:42pm | 
 
| 
   
    
   
I got into an argument with Mark about the Expanded property some time ago - personally I think that setting Expanded = True/False should change the expanded state of the columns and change the icon. 
   
   | 
 |
![]()  | 
 |
   
   jpbro  
   
   Senior Member  
   Joined: 12 January 2007 Status: Offline Points: 1357  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 19 March 2010 at 1:43pm | 
 
| 
   
    
   But maybe such a feature request could go on the ReportControl TODO?
    
   
   | 
 |
| 
   
     
     Product: Xtreme SuitePro (ActiveX) version 16.2.6 
   
  Platform: Windows XP - SP3 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  |