Print Page | Close Window

Adding child rows to parent row

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=5665
Printed Date: 19 September 2024 at 1:04pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Adding child rows to parent row
Posted By: rdeboer
Subject: Adding child rows to parent row
Date Posted: 02 December 2006 at 12:24pm
I have filled the ReportControl with a number of rows.
 
Now i doubleclick on one, and want to add one or more childs to that row in the event 'RowDblClick'
 
Can anybody give me a quick example for that in VB6?
 
I know there's a demo of the Reportcontrol that does use this feature, but i can't figure it out.
 
 



Replies:
Posted By: sserge
Date Posted: 14 December 2006 at 2:10pm
Look at Report VB Sample,
frmTreeView
 
Add a following handler

Private Sub wndReportControl_RowDblClick(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem)
   
    AddReportRecord Item.Record, False, "DblClick Added", "RowDblClick", Now, 0, 0
   
    wndReportControl.Populate
   
End Sub


--
WBR,
Serge



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