![]() |
XTP_NM_REPORT_DRAGDROP_COMPLETED help... |
Post Reply ![]() |
Author | |
ddlittle ![]() Senior Member ![]() Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |