Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Adding child rows to parent row
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Adding child rows to parent row

 Post Reply Post Reply
Author
Message
rdeboer View Drop Down
Groupie
Groupie


Joined: 29 April 2004
Location: Netherlands
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdeboer Quote  Post ReplyReply Direct Link To This Post Topic: Adding child rows to parent row
    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.
 
 
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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
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.125 seconds.