Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - How collapse & expand group rows?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How collapse & expand group rows?

 Post Reply Post Reply
Author
Message
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Topic: How collapse & expand group rows?
    Posted: 15 December 2008 at 2:56am
Hi all

Help me for How collapse & expand groups in RC?

Thank's
Yousof Mozaheb
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 15 December 2008 at 2:28pm
Hi,
 
If you click plus/minus sign the grouprow will be collapsed / expanded.
 
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....
Back to Top
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post Posted: 15 December 2008 at 3:24pm
probably he meant by code. Be explicit in what you ask that makes it easy for someone to help. By code:

Dim GroupRow As ReportRow

Public Function expand_Thisgroup(wndcontrol As ReportControl)
    For Each GroupRow In wndcontrol.Rows
        If wndcontrol.FocusedRow.GroupRow = True And GroupRow.Selected = True Then
        If GroupRow.GroupRow Then GroupRow.Expanded = True
        End If
    Next
End Function
Product: Xtreme SuitePro (ActiveX) version 13.1
Platform: Windows XP SP 3
Language: Visual Basic 6 SP6
Back to Top
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Posted: 16 December 2008 at 2:34am
Thank's Joeliner

Hi Aaron  i want collapse & expand group rows with code...

Thank's again Joeliner
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.