Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - OLEDragDrop
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

OLEDragDrop

 Post Reply Post Reply
Author
Message
Franco Prudente View Drop Down
Newbie
Newbie


Joined: 01 December 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Franco Prudente Quote  Post ReplyReply Direct Link To This Post Topic: OLEDragDrop
    Posted: 26 April 2007 at 12:36pm
Hi, I have some problems to manage the OLEDragDrop event.
I try to drag an element from a form:
 

System.Windows.Forms.DataObject myDataObject = new System.Windows.Forms.DataObject(MetaItemType.Name, FMeta.Clone());

TaskPanel.DoDragDrop(myDataObject, DragDropEffects.Copy);

Then i must drop the element in another form but this C# code doesn't work.

void Grid_OLEDragDrop(object sender, AxXtremeReportControl._DReportControlEvents_OLEDragDropEvent e)

{

nDrop = Grid.EnableDragDrop("MetaItem", XtremeReportControl.XTPReportDragDrop.xtpReportAllowDrop);

if (e.data.GetFormat(nDrop))

{

object o = e.data.GetData(nDrop);

if (o is MetaItem)

{

//do something..

}

}

}

 
 
Thanks in advance....

 

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.