Can't drag a row within report control |
Post Reply |
Author | |
brianh
Groupie Joined: 30 April 2004 Location: United Kingdom Status: Offline Points: 83 |
Post Options
Thanks(0)
Posted: 16 December 2014 at 12:23pm |
Hi,
I have a report control in a dialog, and I have called EnableDragDrop("myformat", xtpReportAllowDrag | xtpReportAllowDrop) to enable drag and drop functionality. When I drag a row it calls CXTPReportControl::BeginDrag() and starts the drag, but it never calls CXTPReportControl::OnDragOver() and never allows me to drop the row within the report. Do I need to do something else to enable this functionality? Thanks, Brian |
|
brianh
Groupie Joined: 30 April 2004 Location: United Kingdom Status: Offline Points: 83 |
Post Options
Thanks(0)
|
I should have mentioned I'm using version 16.2.3 with MFC.
|
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello Brian,
Maybe you forget to use notifications. You can see they in our sample DragDrop sample can be runed from menu of ReportSample -> "REPORT CONTROL" -> "Quality assurance" -> "Drag & Drop" toolkitpro\Samples\ReportControl\ReportSample\TestDragDropDlg.cpp from line 54
Unfortunately it is not clear what exactly is going wrong. Can you please provide sample application so that we could debug it. Regards, Oleksandr Lebed |
|
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 |