OLEDragDrop |
Post Reply |
Author | |
Franco Prudente
Newbie Joined: 01 December 2006 Status: Offline Points: 4 |
Post Options
Thanks(0)
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....
|
|
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 |