Print Page | Close Window

Drag and drop problem or bug

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=17545
Printed Date: 17 May 2024 at 9:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Drag and drop problem or bug
Posted By: andre
Subject: Drag and drop problem or bug
Date Posted: 09 November 2010 at 12:20pm
Hey,

I've just integrate the last version 13.4, my previous version was 12.0, but now Drag and drop between different report controls has stopped working.

Any idea what this is ?

Regards



Replies:
Posted By: andre
Date Posted: 11 November 2010 at 8:13am
Sample ReportCustomHeap.exe seems to have the same problem. 

Drag and drop does not work also.

I think  but I'm not sure, that the problem is somewhere in the _ReadRecordsFromData, that throws an exception.

regards



Posted By: andre
Date Posted: 15 November 2010 at 9:22am
Sorry, i was wrong, you sample runs well.

But in my app I still have the same problem, however I can drop my items to the report control of your sample, but not the opposite, so serialization of the object seems to be ok( I think ) but when I drop into my other report ctrl( no the same, but other ) of my app it throws BadClass exception.

The problem is in m_ar.ReadClass for the runtime class CXTPReportControl

OnDrop( )

(...)
    _ReadRecordsFromData
   (...)
            m_ar.ReadClass throws exception BadClass.

An again, V12 was working.

Regards



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