<?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 : OLEDragDrop</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : OLEDragDrop]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 21:58:57 +0000</pubDate>
  <lastBuildDate>Thu, 26 Apr 2007 12:36:58 +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=6993</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[OLEDragDrop : Hi, I have some problems to manage...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6993&amp;PID=22364&amp;title=oledragdrop#22364</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2551">Franco Prudente</a><br /><strong>Subject:</strong> 6993<br /><strong>Posted:</strong> 26 April 2007 at 12:36pm<br /><br />Hi, I have some problems to manage the OLEDragDrop event.<DIV>I try to drag an element from a form:</DIV><DIV>&nbsp;</DIV><FONT size=2><P>System.Windows.Forms.</FONT><FONT color=#008080 size=2>DataObject</FONT><FONT size=2> myDataObject = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> System.Windows.Forms.</FONT><FONT color=#008080 size=2>DataObject</FONT><FONT size=2>(MetaItemType.Name, FMeta.Clone());</P><P>TaskPanel.DoDragDrop(myDataObject, </FONT><FONT color=#008080 size=2>DragDropEffects</FONT><FONT size=2>.Copy);</P><DIV></DIV><P>Then i must drop the element in another form but this&nbsp;C# code doesn't work.</P><DIV><FONT color=#0000ff size=2>void</FONT><FONT size=2> Grid_OLEDragDrop(</FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> sender, AxXtremeReportControl.</FONT><FONT color=#008080 size=2>_DReportControlEvents_OLEDragDropEvent</FONT><FONT size=2> e)</DIV><P>{</P><P>nDrop = Grid.EnableDragDrop(</FONT><FONT color=#800000 size=2>"MetaItem"</FONT><FONT size=2>, XtremeReportControl.</FONT><FONT color=#008080 size=2>XTPReportDragDrop</FONT><FONT size=2>.xtpReportAllowDrop);</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (e.data.GetFormat(nDrop))</P><P>{</P><P></FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> o = e.data.GetData(nDrop);</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (o </FONT><FONT color=#0000ff size=2>is</FONT><FONT size=2> </FONT><FONT color=#008080 size=2>MetaItem</FONT><FONT size=2>)</P><P>{</P><P></FONT><FONT color=#008000 size=2>//do something..</P></FONT><FONT size=2><P>}</P><P>}</P><P>}</P><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><DIV></DIV>Thanks in advance....</DIV><P></FONT></FONT>&nbsp;</P>]]>
   </description>
   <pubDate>Thu, 26 Apr 2007 12:36:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6993&amp;PID=22364&amp;title=oledragdrop#22364</guid>
  </item> 
 </channel>
</rss>