<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Report C&#111;ntrol: Drag a single item</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : Report C&#111;ntrol: Drag a single item]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 20:15:41 +0000</pubDate>
  <lastBuildDate>Sun, 11 Jun 2006 01:58:04 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=1652</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Report C&#111;ntrol: Drag a single item : Hi.When will OLEDragDrop and OLEDragOver...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=13566&amp;title=report-control-drag-a-single-item#13566</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1563">gbdc</a><br /><strong>Subject:</strong> 1652<br /><strong>Posted:</strong> 11 June 2006 at 1:58am<br /><br />Hi.<br><br>When will OLEDragDrop and OLEDragOver events become available?<br><br>Thanks!&nbsp;&nbsp;  <br>]]>
   </description>
   <pubDate>Sun, 11 Jun 2006 01:58:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=13566&amp;title=report-control-drag-a-single-item#13566</guid>
  </item> 
  <item>
   <title><![CDATA[Report C&#111;ntrol: Drag a single item : Thanks, this will bea great help!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=11680&amp;title=report-control-drag-a-single-item#11680</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=756">gshawn</a><br /><strong>Subject:</strong> 1652<br /><strong>Posted:</strong> 23 March 2006 at 5:31pm<br /><br />Thanks, this will be&nbsp;a great help!]]>
   </description>
   <pubDate>Thu, 23 Mar 2006 17:31:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=11680&amp;title=report-control-drag-a-single-item#11680</guid>
  </item> 
  <item>
   <title><![CDATA[Report C&#111;ntrol: Drag a single item : Here is some documentation on...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=11669&amp;title=report-control-drag-a-single-item#11669</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1652<br /><strong>Posted:</strong> 23 March 2006 at 9:32am<br /><br />Here is some documentation on the Drag and Drop sample, it should answer your questions.&nbsp; Remember, the sample here includess 2 events not available in Beta 2<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Option Explicit<br><br>'An integer value that will be used to indicate whether an item in the DataObject object matches the<br>'specified ClipboardString(Parameter in EnableDrageDrop) format.&nbsp; The DataObject is a parameter in OLEDrag events for controls<br>'that contains the data on the clipboard.<br>Dim cfRecords As Integer<br><br>Private Sub Form_Load()<br>&nbsp;&nbsp;&nbsp; 'Adds 3 items to the List Control<br>&nbsp;&nbsp;&nbsp; lstItems.AddItem "Item 1"<br>&nbsp;&nbsp;&nbsp; lstItems.AddItem "Item 2"<br>&nbsp;&nbsp;&nbsp; lstItems.AddItem "Item 3"<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; 'Do not allow columns to be removed from the Report Control<br>&nbsp;&nbsp;&nbsp; wndReport.AllowColumnRemove = False<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; 'Add a column named "Items" to the Report Control<br>&nbsp;&nbsp;&nbsp; wndReport.Columns.Add 0, "Items", 50, True<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Dim str As String, i As Long<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; 'Add 4 records\rows to the Report Control<br>&nbsp;&nbsp;&nbsp; For i = 4 To 8<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Record As ReportRecord<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Item As ReportRecordItem<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Record = wndReport.Records.Add<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; str = "Item " &amp; CStr(i)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Item = Record.AddItem(str)<br>&nbsp;&nbsp;&nbsp; Next i<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; 'Adds the records the Report Control<br>&nbsp;&nbsp;&nbsp; wndReport.Populate<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; 'To enable Drag and Drop in a Report Control the EnableDragDrop method must be used. EnableDragDrop<br>&nbsp;&nbsp;&nbsp; 'does two things, first it sets a clipboard string that will be used to indicate the type of data<br>&nbsp;&nbsp;&nbsp; 'that is copied to the clipboard.&nbsp; Second, it sets the drag and drop effects that are allowed when<br>&nbsp;&nbsp;&nbsp; 'dragging items to\from the report control.&nbsp; The available effects are stored in the XTPReportDragDrop<br>&nbsp;&nbsp;&nbsp; 'enumeration.&nbsp; If dragging items to\from one or more Report Control's, the same clipboard string must<br>&nbsp;&nbsp;&nbsp; 'be used for all Report Control's when calling EnableDragDrop.<br>&nbsp;&nbsp;&nbsp; '<br>&nbsp;&nbsp;&nbsp; 'Below, the clipboard string is "ReportSample:frmDragDrop" and we are allowing all drag and drop operations<br>&nbsp;&nbsp;&nbsp; cfRecords = wndReport.EnableDragDrop("ReportSample:frmDragDrop", xtpReportAllowDrag Or xtpReportAllowDrop)<br>End Sub<br><br>Sub ClearListSelection()<br>&nbsp;&nbsp;&nbsp; Dim i As Long<br>&nbsp;&nbsp;&nbsp; For i = 0 To lstItems.ListCount - 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lstItems.Selected(i) = False<br>&nbsp;&nbsp;&nbsp; Next<br>End Sub<br><br>'The Mouse_Mouve event will be used to prepare records to be dropped into the report.<br>Private Sub lstItems_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)<br><br>&nbsp;&nbsp;&nbsp; 'If the left mouse button is pressed while in the List Control<br>&nbsp;&nbsp;&nbsp; If (Button And vbLeftButton) Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Records As ReportRecords<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'CreateRecords is primarily used to create an empty ReportRecords collection in Drag and Drop<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'operations.&nbsp; The new ReportRecords collection is used to create a collection of ReportRecord<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objects to be dropped into the Report Control or to retrieve records that have been dragged<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'out of the Report Control.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Below, a records collection is created that will contain a record for each item that<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'is currently selected in the list control<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Records = wndReport.CreateRecords<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim i As Long<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Loop through all items in the List Control<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For i = 0 To lstItems.ListCount - 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 'If the list item is selected, then add it to then create a record for it<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 'in the records colleciton<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; If lstItems.Selected(i) Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Record As ReportRecord<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Add a new record to the records collection<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Record = Records.Add<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Record.AddItem lstItems.List(i)<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug.Print "Added " &amp; i<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'The DragRecords method is used to prepare records to be dropped into the Report Control.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'DragRecords accepts a ReportRecords collection created by CreateRecords.&nbsp; Any records that<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'have been prepared using DragRecords will be added to the Report when the items are dropped<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'into the Report Control.&nbsp; Typically DragRecords would be used in the MouseMove event of the<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'control from which items are being dragged.&nbsp; The Report Control will automatically add the<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'new records to the report once they have been dropped.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Below, the Records collection is filled with a record that corresponds to each item that is<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'currently selected in the List Control.&nbsp; If the items are dropped into the Report Control, then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'all records contained in the Records collection will be added to the report.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Now Data.GetFormat(cfRecords) will return True as some Records have been added to the clipboard<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wndReport.DragRecords Records<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; End If<br>End Sub<br><br>'The OLEDragDrop event will be used to add items to the List Control that have been dragged from the Report Control<br>Private Sub lstItems_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)<br><br>&nbsp;&nbsp;&nbsp; 'If the format of the data on the clipboard is of type "ReportSample:frmDragDrop" as set with EnableDragDrop<br>&nbsp;&nbsp;&nbsp; If Data.GetFormat(cfRecords) Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Create a ByteArray<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim byteData() As Byte<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Retrieve the Records collection from the clipboard, the data is stored as a ByteArray<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; byteData = Data.GetData(cfRecords)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Records As ReportRecords<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'The CreateRecordsFromDropArray method is used when retrieving records that have been dragged<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'from the Report Control.&nbsp; CreateRecordsFromDropArray accepts the ByteArray returned from the<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Data.GetData parameter from any control's OLEDragDrop event and populates a ReportRecords<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'collection created by CreateRecords.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Below, the Records collection is populated by the records that were copied to the clipboard<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Records = wndReport.CreateRecordsFromDropArray(byteData)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'If there were some records on the clipboard<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (Not Records Is Nothing) Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 'Unselect all items in the list control<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; ClearListSelection<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; Dim i As Long<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 'Add a list item for each record that was on the clipboard<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; For i = 0 To Records.Count - 1<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lstItems.AddItem Records(i).Item(0).Value<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lstItems.Selected(lstItems.ListCount - 1) = True<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; Next<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'If the ctrl key was pressed when the items were dropped, then the drag operation was a Copy<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Else, a Move operation is performed<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If ((Shift And 2) = 0) Then<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; Effect = vbDropEffectMove<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; Effect = vbDropEffectCopy<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; <br>End Sub<br><br>'The OLEDragOver event is used to detect when items are dragged over the list control<br>Private Sub lstItems_OLEDragOver(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single, State As Integer)<br>&nbsp;&nbsp;&nbsp; Effect = 0<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; 'If the format of the data on the clipboard is of type "ReportSample:frmDragDrop" as set with EnableDragDrop<br>&nbsp;&nbsp;&nbsp; If Data.GetFormat(cfRecords) Then<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'If the ctrl key is pressed when items are dragged over the list control, then the drag operation is Copy<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Else, a Move operation is performed<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If ((Shift And 2) = 0) Then<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; Effect = vbDropEffectMove<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; Effect = vbDropEffectCopy<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; End If<br>End Sub<br><br>'The BeginDrag event occurs when records are being dragged from the Report Control, and provides a<br>'ReportRecords collection containing all of the selected records when the drag operation started.<br>Private Sub wndReport_BeginDrag(ByVal Records As XtremeReportControl.IReportRecords)<br>&nbsp;&nbsp;&nbsp; Debug.Print "Begin Drag. Records.Count = " &amp; Records.Count<br>End Sub<br><br>'The DropRecords event occurs when records are dropped into a Report Control, and provides a<br>'ReportRecords collection containing all of the records that will be dropped into the Report Control.<br>'This gives the opportunity to modify the ReportRecords collection before they are actually added<br>'to the Report Control.<br>Private Sub wndReport_DropRecords(ByVal Records As XtremeReportControl.IReportRecords)<br>&nbsp;&nbsp;&nbsp; Debug.Print "Drop Records. Records.Count = " &amp; Records.Count<br>End Sub<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Thu, 23 Mar 2006 09:32:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=11669&amp;title=report-control-drag-a-single-item#11669</guid>
  </item> 
  <item>
   <title><![CDATA[Report C&#111;ntrol: Drag a single item : Just an update, BeginDrag and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=11665&amp;title=report-control-drag-a-single-item#11665</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1652<br /><strong>Posted:</strong> 23 March 2006 at 8:31am<br /><br />Just an update, BeginDrag and DropRecords events have been added to the Report Control.]]>
   </description>
   <pubDate>Thu, 23 Mar 2006 08:31:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=11665&amp;title=report-control-drag-a-single-item#11665</guid>
  </item> 
  <item>
   <title><![CDATA[Report C&#111;ntrol: Drag a single item :  Putting documentation together...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=11650&amp;title=report-control-drag-a-single-item#11650</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1652<br /><strong>Posted:</strong> 22 March 2006 at 3:53pm<br /><br />Putting documentation together as I speak.&nbsp; Until then, there is a sample of how to use it<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0">&nbsp; In report sample, Report Control-&gt;Test-&gt;Drag and Drop Test.<br><br>There will also be a few events added, I noticed the need while working with it.&nbsp; <br><br>BTW, Drag and Drop "just" made it into Beta 2, thus, no documentation.<br>]]>
   </description>
   <pubDate>Wed, 22 Mar 2006 15:53:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=11650&amp;title=report-control-drag-a-single-item#11650</guid>
  </item> 
  <item>
   <title><![CDATA[Report C&#111;ntrol: Drag a single item :   SuperMario wrote:Will be available...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=11649&amp;title=report-control-drag-a-single-item#11649</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=756">gshawn</a><br /><strong>Subject:</strong> 1652<br /><strong>Posted:</strong> 22 March 2006 at 3:09pm<br /><br /><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by SuperMario" alt="Originally posted by SuperMario" style="vertical-align: text-bottom;" /> <strong>SuperMario wrote:</strong><br /><br />Will be available in version 10 coming soon<IMG src="http://forum.codejock.com/smileys/smiley1.gif" border="0">&nbsp; Beta 2 is available now with Drag and Drop.&nbsp; beta.codejock.com to download.</td></tr></table> </P><P>You, sir, are a gentleman and a scholar.</P><P>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.</P><P>Cheers!</P>]]>
   </description>
   <pubDate>Wed, 22 Mar 2006 15:09:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=11649&amp;title=report-control-drag-a-single-item#11649</guid>
  </item> 
  <item>
   <title><![CDATA[Report C&#111;ntrol: Drag a single item : Will be available in version 10...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=11641&amp;title=report-control-drag-a-single-item#11641</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1652<br /><strong>Posted:</strong> 22 March 2006 at 2:47pm<br /><br />Will be available in version 10 coming soon<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0">&nbsp; Beta 2 is available now with Drag and Drop.&nbsp; beta.codejock.com to download.]]>
   </description>
   <pubDate>Wed, 22 Mar 2006 14:47:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=11641&amp;title=report-control-drag-a-single-item#11641</guid>
  </item> 
  <item>
   <title><![CDATA[Report C&#111;ntrol: Drag a single item : Personally (I can&amp;#039;t speak...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=5934&amp;title=report-control-drag-a-single-item#5934</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=756">gshawn</a><br /><strong>Subject:</strong> 1652<br /><strong>Posted:</strong> 24 March 2005 at 6:04pm<br /><br /><P>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.</P><P>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 &amp; drop has been good to me. </P><P>In the end, whatever you guys decide to do, I will be happy...&nbsp;well, to a certain extent :)&nbsp; But I'd rather have&nbsp;simple d&amp;d support than no d&amp;d support at all.</P><P>Edit: Thanks for being responsive and asking for our feedback. I for one appreciate&nbsp;this kind of thing&nbsp;immensely.</P><P>&nbsp;</P><span style="font-size:10px"><br /><br />Edited by gshawn</span>]]>
   </description>
   <pubDate>Thu, 24 Mar 2005 18:04:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=5934&amp;title=report-control-drag-a-single-item#5934</guid>
  </item> 
  <item>
   <title><![CDATA[Report C&#111;ntrol: Drag a single item : I think full drag/drop support...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=5874&amp;title=report-control-drag-a-single-item#5874</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=260">Boyd</a><br /><strong>Subject:</strong> 1652<br /><strong>Posted:</strong> 22 March 2005 at 7:31am<br /><br />I think full drag/drop support for move/copy inside/outside the control (in all combinations) would be the best base.&nbsp; We'd need the flexibility to be able to drag a single record, and entire row, or an entire column.&nbsp; Reordering rows would be a nice feature as well with the obvious caveat that sorting would be disabled.&nbsp; Of course, we'd also need to be able to control the data that was used for the drag/drop operation.]]>
   </description>
   <pubDate>Tue, 22 Mar 2005 07:31:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=5874&amp;title=report-control-drag-a-single-item#5874</guid>
  </item> 
  <item>
   <title><![CDATA[Report C&#111;ntrol: Drag a single item : We plan to add it. What features...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=5870&amp;title=report-control-drag-a-single-item#5870</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1652<br /><strong>Posted:</strong> 22 March 2005 at 6:02am<br /><br /><P>We plan to add it.</P><P>What features you need to be added with drag'n'drop.</P><P>Move inside control? Copy iside control? Copy outside control?</P><P>Or just reorder rows then no sorting enabled?</P>]]>
   </description>
   <pubDate>Tue, 22 Mar 2005 06:02:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1652&amp;PID=5870&amp;title=report-control-drag-a-single-item#5870</guid>
  </item> 
 </channel>
</rss>