<?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 control drog and drop (SOLVED)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : report control drog and drop (SOLVED)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 15:27:53 +0000</pubDate>
  <lastBuildDate>Sun, 03 Aug 2008 09:03:56 +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=11701</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 control drog and drop (SOLVED) :    Aaron wrote:Hi,   try this:  Private...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11701&amp;PID=39374&amp;title=report-control-drog-and-drop-solved#39374</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4400">nenkalo</a><br /><strong>Subject:</strong> 11701<br /><strong>Posted:</strong> 03 August 2008 at 9:03am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Aaron" alt="Originally posted by Aaron" style="vertical-align: text-bottom;" /> <strong>Aaron wrote:</strong><br /><br />Hi, <div>&nbsp;</div><div>try this:</div><div>&nbsp;</div><div>Private Sub wndReportSource_PreviewKeyDown(KeyCode As Integer, ByVal Shift As Integer, Cancel As Boolean)<br>&nbsp;&nbsp;&nbsp; Me.Caption = KeyCode<br>End Sub<br></div></td></tr></table><br><br>hi . tnx . i know this way . but i want to find one solution to reciving keycode pressed in form . anyway its not important . tnx for everythings ...<br><img src="http://forum.codejock.com/smileys/smiley9.gif" border="0" align="absmiddle"><br><br><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Aaron" alt="Originally posted by Aaron" style="vertical-align: text-bottom;" /> <strong>Aaron wrote:</strong><br /><br /><br>Please add SOLVED: &lt;your topic description&gt; and enter your info in your signature as well<br></td></tr></table><br><br>i do it <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" align="absmiddle"><br>]]>
   </description>
   <pubDate>Sun, 03 Aug 2008 09:03:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11701&amp;PID=39374&amp;title=report-control-drog-and-drop-solved#39374</guid>
  </item> 
  <item>
   <title><![CDATA[report control drog and drop (SOLVED) : Hi,   try this:  Private Sub...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11701&amp;PID=39373&amp;title=report-control-drog-and-drop-solved#39373</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11701<br /><strong>Posted:</strong> 03 August 2008 at 8:34am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>try this:</DIV><DIV>&nbsp;</DIV><DIV>Private Sub wndReportSource_PreviewKeyDown(KeyCode As Integer, ByVal Shift As Integer, Cancel As Boolean)<BR>&nbsp;&nbsp;&nbsp; Me.Caption = KeyCode<BR>End Sub<BR></DIV><DIV>&nbsp;</DIV><DIV>Please add SOLVED: &lt;your topic description&gt; and enter your info in your signature as well</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 03 Aug 2008 08:34:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11701&amp;PID=39373&amp;title=report-control-drog-and-drop-solved#39373</guid>
  </item> 
  <item>
   <title><![CDATA[report control drog and drop (SOLVED) : really tnx dear;)i change titel...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11701&amp;PID=39372&amp;title=report-control-drog-and-drop-solved#39372</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4400">nenkalo</a><br /><strong>Subject:</strong> 11701<br /><strong>Posted:</strong> 03 August 2008 at 7:51am<br /><br />really tnx dear<br>;)<br><br>i change titel to solved immediately ;)<br><br><br><br>but 1 smaill question <img src="http://forum.codejock.com/smileys/smiley36.gif" border="0" align="absmiddle"><br><br>when we have report control on form and set form.keypreview = true <br>"ESC" code not detected by form when report control have focus . <br><br>can u help me abt this ?<br><br><br>]]>
   </description>
   <pubDate>Sun, 03 Aug 2008 07:51:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11701&amp;PID=39372&amp;title=report-control-drog-and-drop-solved#39372</guid>
  </item> 
  <item>
   <title><![CDATA[report control drog and drop (SOLVED) : Hi,   I was testing your issue...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11701&amp;PID=39370&amp;title=report-control-drog-and-drop-solved#39370</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11701<br /><strong>Posted:</strong> 03 August 2008 at 7:25am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I was testing your issue and found I was doing something wrong myself (I changed my previous reply&nbsp;as well,&nbsp;not to confuse other users)</DIV><DIV>&nbsp;</DIV><DIV>To disable copying records with CTRL down you can use the events:</DIV><DIV>&nbsp;</DIV><DIV>Private Sub wndReportSource_OLEDragOver(ByVal Data As XtremeReportControl.DataObject, Effect As Long, ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single, ByVal state As Integer)<BR><strong>&nbsp;&nbsp;&nbsp; If ((Shift And 2) = 0) Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Effect = vbDropEffectMove<BR>&nbsp;&nbsp;&nbsp; Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Effect = vbDropEffectNone<BR>&nbsp;&nbsp;&nbsp; End If<BR></strong>End Sub<BR>Private Sub wndReportDestination_OLEDragOver(ByVal Data As XtremeReportControl.DataObject, Effect As Long, ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single, ByVal state As Integer)<BR>&nbsp;&nbsp;&nbsp;<strong> If ((Shift And 2) = 0) Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Effect = vbDropEffectMove<BR>&nbsp;&nbsp;&nbsp; Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Effect = vbDropEffectNone<BR>&nbsp;&nbsp;&nbsp; End If<BR></strong>End Sub<BR></DIV><DIV>&nbsp;</DIV><DIV>also set:</DIV><DIV>&nbsp;</DIV><DIV><strong>wndReportSource.OLEDropMode = xtpOLEDropManual<BR>wndReportDestination.OLEDropMode = xtpOLEDropManual</strong></DIV><DIV><strong><BR>&nbsp;</DIV></strong><DIV>and cursor will be changed to NODROP when CTRL is down and now you can only move the records.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 03 Aug 2008 07:25:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11701&amp;PID=39370&amp;title=report-control-drog-and-drop-solved#39370</guid>
  </item> 
  <item>
   <title><![CDATA[report control drog and drop (SOLVED) : tnx sir !but by limit draging...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11701&amp;PID=39369&amp;title=report-control-drog-and-drop-solved#39369</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4400">nenkalo</a><br /><strong>Subject:</strong> 11701<br /><strong>Posted:</strong> 03 August 2008 at 6:04am<br /><br />tnx sir !<br><br>but by limit draging in first RC and limit dropping in another RC user cant move records from RC1 to RC2 and from RC2 to RC1 !<br><br>i want to have <b>biderctional </b>drag and droping between RCs . <br><br>user must move any record from any report control to another control freely . but must always sum of record in two report control be fix. (<b>copy from one control to itself is invalid </b>. in fact this is my problem !)<br><br>tnx<br><br>]]>
   </description>
   <pubDate>Sun, 03 Aug 2008 06:04:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11701&amp;PID=39369&amp;title=report-control-drog-and-drop-solved#39369</guid>
  </item> 
  <item>
   <title><![CDATA[report control drog and drop (SOLVED) : Hi,  You allow droprecords by...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11701&amp;PID=39368&amp;title=report-control-drog-and-drop-solved#39368</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11701<br /><strong>Posted:</strong> 03 August 2008 at 5:18am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>You allow droprecords by setting:</DIV><DIV>&nbsp;</DIV><DIV>cfRecordsSource = wndReportSource.EnableDragDrop("ReportSample:frmDragDrop", xtpReportAllowDrag Or <strong>xtpReportAllowDrop</strong>)</DIV><DIV>&nbsp;</DIV><DIV>cfRecordsDestination = wndReportSource.EnableDragDrop("ReportSample:frmDragDrop", xtpReportAllowDrag Or <strong>xtpReportAllowDrop</strong>)</DIV><DIV>&nbsp;</DIV><DIV>if you set this with both RC's you are able to drag&amp;drop records in both RC's. That's not what you want.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>If you set the source only for dragging and destination for dropping:</DIV><DIV>&nbsp;</DIV><DIV>cfRecordsSource = wndReportSource.EnableDragDrop("ReportSample:frmDragDrop", <strong>xtpReportAllowDrag</strong>)</DIV><DIV><BR>cfRecordsDestination = wndReportDestination.EnableDragDrop("ReportSample:frmDragDrop", <strong>xtpReportAllowDrop</strong>)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>allows you to <strong>move</strong> or <strong>copy</strong> the selected records <strong>only</strong> from source to destination.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>btw If your issue is solved, please add&nbsp;SOLVED in your Topic description&nbsp;and have a look at post <a href="http://forum.codejock.com/forum_posts.asp?TID=11225" target="_blank">http://forum.codejock.com/forum_posts.asp?TID=11225</A><BR><BR></DIV>]]>
   </description>
   <pubDate>Sun, 03 Aug 2008 05:18:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11701&amp;PID=39368&amp;title=report-control-drog-and-drop-solved#39368</guid>
  </item> 
  <item>
   <title><![CDATA[report control drog and drop (SOLVED) :  hi dear i want to making two...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11701&amp;PID=39348&amp;title=report-control-drog-and-drop-solved#39348</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4400">nenkalo</a><br /><strong>Subject:</strong> 11701<br /><strong>Posted:</strong> 02 August 2008 at 5:34pm<br /><br />hi dear <br><br>i want to making two report controls for drog and drop records from one to other control .<br><br>for examle in report1 we have 10 records and report2 is empty .<br>report1 is source and&nbsp; report2 is destination .<br><br><br>when&nbsp; we drag one record from source to destination then&nbsp; report1&nbsp; has 9 records and report2 has 1 record .<br><br>but when u pressed "ctrl" and drag any record from any report control to itself , this record duplicate in report !<br><br>how i can fix it ?<br>]]>
   </description>
   <pubDate>Sat, 02 Aug 2008 17:34:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11701&amp;PID=39348&amp;title=report-control-drog-and-drop-solved#39348</guid>
  </item> 
 </channel>
</rss>