Print Page | Close Window

Drag N Drop

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


Topic: Drag N Drop
Posted By: LittleJK
Subject: Drag N Drop
Date Posted: 05 February 2007 at 5:18pm
Hi  we were wondering if we can get some help with Dragging and Dropping from a custom commandbar control containing a Report Control in which is found on an MDI form to a child form containing a usercontrol or to the child form itself.

We have a test model of a child form that accepts an item from a report control but in our application it fails to work.

Here is our example: Click on the button called Briefcase and then Drag the item in the report control to the form and release it. 

Thanks

uploads/20070205_171645_dragdrop.zip - uploads/20070205_171645_dragdrop.zip




Replies:
Posted By: sserge
Date Posted: 02 March 2007 at 3:03am
You have to use ReportControl.CreateRecordsFromDropArray() function.
 
See our VB Sample, frmDragDrop form.


--
WBR,
Serge


Posted By: LittleJK
Date Posted: 02 March 2007 at 9:37am
Yeah I figured out what the issue was... I was debugging our production code on this matter (which I didn't have a hand in writing) and found that  the production code's drag n drop had a small coding error... an extra column without a ID and data was declared. Once that was removed everything worked fine. It's amazing how 1 line of code can derail something simple. 



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