Print Page | Close Window

XTP_NM_REPORT_DRAGDROP_COMPLETED help...

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=15769
Printed Date: 16 September 2024 at 4:03pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTP_NM_REPORT_DRAGDROP_COMPLETED help...
Posted By: ddlittle
Subject: XTP_NM_REPORT_DRAGDROP_COMPLETED help...
Date Posted: 02 December 2009 at 10:12pm

On my report control, I have some children rows and I want to drag-n-drop them.  I couldn't find a sample for XTP_NM_DRAGDROP_COMPLETED (or the BEGINDRAG or DRAGOVER either).  The default behavior doesn't seem to allow children being dragged to another parent and before I write a bunch of code to do that, I thought I'd ask. 

Finally, the XTP_NM_REPORTDRAGDROP structure never seems to populate the target record, so I'm not sure where the user is dropping things.
 
Any XTPers out there ever tried drag-n-drop with the report control?  Especially those of you who don't mind sharing....
 
Thanks!
 
- David



Replies:
Posted By: mdoubson
Date Posted: 02 December 2009 at 11:01pm
In 13.2.2 there is CXTPReportControl BOOL flag m_bUnrestrictedDragDrop
If TRUE -
XTP_NM_REPORT_DROP Notification have nmData.pTargetRecord can be child record and you need to support in your app specific  action with child record
If FALSE - nmData.pTargetRecord is most Parent record for this child record


-------------
Mark Doubson, Ph.D.



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