Print Page | Close Window

Expand All

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=14577
Printed Date: 15 November 2024 at 11:43am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Expand All
Posted By: Fossil
Subject: Expand All
Date Posted: 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



Replies:
Posted By: mav46
Date 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


Posted By: Fabian
Date 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


Posted By: SuperMario
Date 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


Posted By: Aaron
Date 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....


Posted By: Fabian
Date Posted: 21 May 2010 at 1:50am
Originally posted by Aaron Aaron wrote:

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
 
 
 
 
 
And much, much faster!


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net