Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - FEATURE: RecordsDropped and DropRecordsEx Event
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

FEATURE: RecordsDropped and DropRecordsEx Event

 Post Reply Post Reply
Author
Message
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post Topic: FEATURE: RecordsDropped and DropRecordsEx Event
    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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2009 at 11:07am
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post 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.
 
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 17 November 2009 at 9:06am

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

Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post 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
 
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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]
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.