![]()  | 
 
Report Control: Drag a single item | 
 
    Post Reply  
   | 
  
| Author | |
   
   gshawn  
   
   Senior Member  
   Joined: 04 October 2004 Status: Offline Points: 227  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Report Control: Drag a single itemPosted: 11 January 2005 at 3:39am  | 
 
| 
   
    Hi, I am trying to replicate the Outlook 2003 drag & drop functionality with the Report control. Namely, dragging the selected item to another object on my form. I can do a ReportControl.Drag but that starts a drag for the entire report control. Is there any way around to start a drag for the current item only? I am using ActiveX 9.51. Thank you very much.  | 
 |
![]()  | 
 |
   
   SuperMario  
   
   Senior Member  
    
   Joined: 14 February 2004 Status: Offline Points: 18057  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 11 January 2005 at 6:55am | 
 
| 
   
    
   Drag & Drop is not currently supported 
   
   
    | 
 |
![]()  | 
 |
   
   Boyd  
   
   Senior Member  
   Joined: 08 December 2003 Location: United States Status: Offline Points: 285  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 11 January 2005 at 7:19am | 
 
| 
   
    Can you please add this to the TODO list? This is some core functionality that most people would assume the control could support. I just now started trying to replace my old grid control with ReportControl, and it's been a disappointing experience.  | 
 |
![]()  | 
 |
   
   SuperMario  
   
   Senior Member  
    
   Joined: 14 February 2004 Status: Offline Points: 18057  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 11 January 2005 at 7:20am | 
 
| 
   
    
   It has been added, but most likely will not be in the next release.
    
   
   | 
 |
![]()  | 
 |
   
   Boyd  
   
   Senior Member  
   Joined: 08 December 2003 Location: United States Status: Offline Points: 285  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 11 January 2005 at 7:23am | 
 
| 
   
    
   Great... thank you! 
   
   
    | 
 |
![]()  | 
 |
   
   gshawn  
   
   Senior Member  
   Joined: 04 October 2004 Status: Offline Points: 227  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 11 January 2005 at 2:32pm | 
 
| 
   
    Yes, this is a little disappointing. I have built most 90% of my application around the CodeJock controls after I purchased them, but now I will have to wait until this is added to the controls (which may not even be in this next release) to release the application.  Thanks for your prompt support.  | 
 |
![]()  | 
 |
   
   gshawn  
   
   Senior Member  
   Joined: 04 October 2004 Status: Offline Points: 227  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 22 March 2005 at 2:43am | 
 
| 
   
    Hi, I logged this issue back in January as #3541. However, when the issue was closed in IssueTrack (moved to Feature Request list) I lost the ability to get any updates on it. Can someone please tell me if the drag and drop functionality is planned for v10, or if it has been pushed back to a later release? Thanks in advance.  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 22 March 2005 at 6:02am | 
 
| 
   
    We plan to add it. What features you need to be added with drag'n'drop. Move inside control? Copy iside control? Copy outside control? Or just reorder rows then no sorting enabled?  | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
   
   Boyd  
   
   Senior Member  
   Joined: 08 December 2003 Location: United States Status: Offline Points: 285  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 22 March 2005 at 7:31am | 
 
| 
   
    
   I think full drag/drop support for move/copy inside/outside the control (in all combinations) would be the best base.  We'd need the flexibility to be able to drag a single record, and entire row, or an entire column.  Reordering rows would be a nice feature as well with the obvious caveat that sorting would be disabled.  Of course, we'd also need to be able to control the data that was used for the drag/drop operation.
    
   
   | 
 |
![]()  | 
 |
   
   gshawn  
   
   Senior Member  
   Joined: 04 October 2004 Status: Offline Points: 227  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 24 March 2005 at 6:04pm | 
 
| 
   
    Personally (I can't speak for everyone) I think we at least need to be able to replicate the drag and drop functionality of the Office 2003 message pane. That would include most of the items Boyd mentioned (not sure about dragging a column), plus being able to drag a group, etc. I also think the ability to drag/drop to/from Windows Explorer is crucial. The only drag and drop implementation I am really familiar with is the OLE drag and drop support for regular VB components such as textbox, listview... OLEStartDrag, OLEDragOver, OLECompleteDrag , OLEDragDrop, Listview.DropHighlight, etc. VB's OLE drag & drop has been good to me. In the end, whatever you guys decide to do, I will be happy... well, to a certain extent :) But I'd rather have simple d&d support than no d&d support at all. Edit: Thanks for being responsive and asking for our feedback. I for one appreciate this kind of thing immensely. 
 Edited by gshawn  | 
 |
![]()  | 
 |
   
   SuperMario  
   
   Senior Member  
    
   Joined: 14 February 2004 Status: Offline Points: 18057  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 22 March 2006 at 2:47pm | 
 
| 
   
    
   Will be available in version 10 coming soon 
   
     Beta 2 is available now with Drag and Drop.  beta.codejock.com to download.
    | 
 |
![]()  | 
 |
   
   gshawn  
   
   Senior Member  
   Joined: 04 October 2004 Status: Offline Points: 227  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 22 March 2006 at 3:09pm | 
 
| 
   
    
 
 You, sir, are a gentleman and a scholar. Would it be possible to get some documentation on this feature for the next Beta? I would love to test it in detail and share my feedback with you, but I'm not exactly sure how to evaluate this implementation without any docs. Thanks for at least including a sample. Cheers!  | 
 |
![]()  | 
 |
   
   SuperMario  
   
   Senior Member  
    
   Joined: 14 February 2004 Status: Offline Points: 18057  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 22 March 2006 at 3:53pm | 
 
| 
   
    
   
Putting documentation together as I speak.  Until then, there is a sample of how to use it 
   
     In report sample, Report Control->Test->Drag and Drop Test.There will also be a few events added, I noticed the need while working with it. BTW, Drag and Drop "just" made it into Beta 2, thus, no documentation.  | 
 |
![]()  | 
 |
   
   SuperMario  
   
   Senior Member  
    
   Joined: 14 February 2004 Status: Offline Points: 18057  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 23 March 2006 at 8:31am | 
 
| 
   
    
   Just an update, BeginDrag and DropRecords events have been added to the Report Control.
    
   
   | 
 |
![]()  | 
 |
   
   SuperMario  
   
   Senior Member  
    
   Joined: 14 February 2004 Status: Offline Points: 18057  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 23 March 2006 at 9:32am | 
 
| 
   
    
   Here is some documentation on the Drag and Drop sample, it should answer your questions.  Remember, the sample here includess 2 events not available in Beta 2 
   
  
  | 
 |
![]()  | 
 |
   
   gshawn  
   
   Senior Member  
   Joined: 04 October 2004 Status: Offline Points: 227  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 23 March 2006 at 5:31pm | 
 
| 
   
    
   Thanks, this will be a great help!
    
   
   | 
 |
![]()  | 
 |
   
   gbdc  
   
   Newbie  
   Joined: 22 October 2005 Status: Offline Points: 5  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 11 June 2006 at 1:58am | 
 
| 
   
    
   Hi. 
   
  When will OLEDragDrop and OLEDragOver events become available? Thanks!  | 
 |
![]()  | 
 |
    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  |