Print Page | Close Window

Virtual Drag and 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=6100
Printed Date: 19 May 2024 at 8:06am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Virtual Drag and Drop
Posted By: JohnCrenshaw
Subject: Virtual Drag and Drop
Date Posted: 12 January 2007 at 1:40pm
I needed to implement drag and drop from some virtual lists to a calendar control. I set up the calendar control fairly easily to recieve the drop, but when it got the drop, it had been sent the virtual records. In a virtual situation having the record without knowing what row number it was from is 100% useless. I just finished overriding all the code in a new custom control so that it will send me enough information. Is there any way that this code could be fixed for future versions to make drag and drop possible in virtual mode without massive work?
 
Also, how about a quick function to register the calendar control to recieve OLE drag and drops from the report controls? It seems that this should be able to parse out the CXTPReportControl OLE information by default (with virtual functions so the programmer can decide what to do with the row/record.) I think it ought to also be able to deal with any text by just creating a new event. Just some thoughts.



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