Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Drag N Drop
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Drag N Drop

 Post Reply Post Reply
Author
Message
LittleJK View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2006
Status: Offline
Points: 168
Post Options Post Options   Thanks (0) Thanks(0)   Quote LittleJK Quote  Post ReplyReply Direct Link To This Post Topic: Drag N Drop
    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

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: 02 March 2007 at 3:03am
You have to use ReportControl.CreateRecordsFromDropArray() function.
 
See our VB Sample, frmDragDrop form.


--
WBR,
Serge
Back to Top
LittleJK View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2006
Status: Offline
Points: 168
Post Options Post Options   Thanks (0) Thanks(0)   Quote LittleJK Quote  Post ReplyReply Direct Link To This Post 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. 
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.117 seconds.