Print Page | Close Window

OLEDrag

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=3557
Printed Date: 14 September 2025 at 5:32pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: OLEDrag
Posted By: debehs
Subject: OLEDrag
Date Posted: 25 January 2006 at 8:23am

Is that possible to use OLEDrag under this control?

Please advice. Thanks.




Replies:
Posted By: SuperMario
Date Posted: 22 March 2006 at 2:50pm
Will be available in version 10 coming soon  Beta 2 is available now with Drag and Drop.  beta.codejock.com to download.


Posted By: John31
Date Posted: 04 April 2006 at 2:38pm

Just to be clear on this.

OLE Drag and Drop will be in the final release of Version 10 for the Report Control?

 

 



-------------
Regards

John Layton


Posted By: SuperMario
Date Posted: 04 April 2006 at 5:49pm
Yes, it is already in beta 2


Posted By: John31
Date Posted: 04 April 2006 at 6:02pm

Not the version I have.  Which is Version 10.0.  Is has standard Drag Drop , but not OLEDragDrop.

I can drag and drop to forms in the same application/dll but if I try to drag and drop to another app it will not work. 

I am pretty sure I am running Beta 2 since all others have expired. 

 



-------------
Regards

John Layton


Posted By: Oleg
Date Posted: 05 April 2006 at 8:17am
OLEDragDrop is VB specific object.
To drag in another application, parameter ClipboardString of EnableDragDrop call must be same for both application.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: John31
Date Posted: 05 April 2006 at 11:31am

Looking further into the docs I see a sample with the BeginDrag event.  The control I have does not have this event.  How do I get the new version.  I have installed Beta 2.



-------------
Regards

John Layton


Posted By: Oleg
Date Posted: 05 April 2006 at 11:55am

 

Standard drag and drop works for two applications also. Run 2 instances of ReportSample and try to draw from TaskList of one appliaction to another.

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: John31
Date Posted: 05 April 2006 at 12:43pm

I got it working using the EnableDragDrop method.  However, the drag icon does not show so the user has no visible indication that a drag operation has started.

iDragDataType = RC1.EnableDragDrop("RC1", xtpReportAllowDrag Or xtpReportAllowDragCopy)

Will this be changed in the final release?

Is the typical SetData method going to be added so that simple text can be passed in the Data object instead of the byte array?

 



-------------
Regards

John Layton


Posted By: Oleg
Date Posted: 05 April 2006 at 1:21pm

Hello,

You need xtpReportAllowDrop to show icon.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: SuperMario
Date Posted: 05 April 2006 at 1:33pm
See this post, maybe the sample code will help you:

https://forum.codejock.com/forum_posts.asp?TID=1652&PN=1



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