Print Page | Close Window

FEATURE: RecordsDropped and DropRecordsEx Event

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=15636
Printed Date: 27 September 2024 at 2:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: FEATURE: RecordsDropped and DropRecordsEx Event
Posted By: McKloony
Subject: FEATURE: RecordsDropped and DropRecordsEx Event
Date Posted: 16 November 2009 at 8:04am
Release 13.2.0 (also 13.2.1 Beta): If you drag a record from one ReportControl (A) to ReportControl (B) and ReportControl (B) has no records, the : RecordsDropped Event will be released. If ReportControl (B) has one or more records the RecordsDropped Event will not released.
 
This behavior is only, if  ReportControl (A) is not in the same VB form like  ReportControl (B)!
 
If  ReportControl (A) is in the same VB form like  ReportControl (B), the RecordsDropped Event will only fired, if you drop the record onto other records and not onto a position with free lines!
 


-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6



Replies:
Posted By: mdoubson
Date Posted: 16 November 2009 at 11:07am
Please retest this with current - https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta13-2.rar - https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta13-2.rar

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


Posted By: McKloony
Date Posted: 17 November 2009 at 2:50am
I send a small VB6 example, that demonstrates the problem. IMPORTANT! If you open the Second Form in this sample with vbModal it doesn't work. If you open it non modal it wirks. It also dosen't work, if you use a DocPane and Drag a record from a RC that is part of a DocPane into a RC on the Main Form.
 
I hope anybody can help, or CodeJock compile another Prerelease, because Drag & Drop is verry importand for my application.
 
https://forum.codejock.com/uploads/20091117_024934__Testproject.rar - uploads/20091117_024934__Testproject.rar


-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6


Posted By: mdoubson
Date Posted: 17 November 2009 at 9:06am

Please open issue and we can discuss your strange case with modal dialog



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


Posted By: McKloony
Date Posted: 17 November 2009 at 11:40am
Sorry, this prerelease takes also no effect to this problem.

-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6


Posted By: Aaron
Date Posted: 17 November 2009 at 12:49pm
Hi,
 
Modal form seems to be the problem :(
 
If this can't be solved in some way, just add FormExtender control to form and set TopMost = True and you will have a "modal" form and drag&drop will work
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: McKloony
Date Posted: 18 November 2009 at 1:47am
OK, I send a new sample, that has the records grouped.
 
When the recors are grouped, the RecordsDropped Event never will fire, if you drag and drop from RC (A) to RC (B"). In Release 13.1.0 it was possible
 
https://forum.codejock.com/uploads/20091118_022546__Testproject2.rar - uploads/20091118_022546__Testproject2.rar


-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6


Posted By: mdoubson
Date Posted: 18 November 2009 at 12:13pm
You can have it in your project with extra settings for your control A and B:
    .SortedDragDrop = True
    .UnrestrictedDragDrop = True


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


Posted By: McKloony
Date Posted: 19 November 2009 at 2:08am
Alright, that works. But if there is only one record in the target RC, it is not so easy to drop the record exactly between the recordrow and the column header :-) is it possible to drop also in the empty part of a RC?
 


-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6


Posted By: mdoubson
Date Posted: 02 December 2009 at 11:27pm
Yes - in this case in 13.2.2 you can drop in any place [you will not see red marker - only usual ole drop icon]

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


Posted By: McKloony
Date Posted: 12 December 2009 at 5:11am
Release 13.2.2 Beta has expired today!!! Do you release 13.2.2 final this weekend ?

-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6


Posted By: McKloony
Date Posted: 19 December 2009 at 9:38am
Is it possible that only in german Windows PCs the 13.2.2 beta expired, because the germany date format is different to the english one? Normaly this Beta shoud expired to the end of december?


-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6


Posted By: mdoubson
Date Posted: 30 December 2009 at 11:18pm
Just get next beta to work till end of Jan 2010 - https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta13-2-2.rar - https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta13-2-2.rar

-------------
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