drag-and-drop

Where to start if I like to build grid drag and drop drawing area with flex?

Hello all I need to build diagram engine with flex to be able to drag and drop elements to Drawing area , I am beginner with flex but have lots of programming experience Can you please point me to the current links tutorials to build such thing ? ...

Disable selection on table

I'm in the midst of implementing drag/drop functionality on a table. How it works: User left-clicks on a row; the row gets dimmed and a span is added to the DOM. The span acts as a place-holder for the row and follows the cursor as long as the user holds down the left mouse-button. The headache: When holding down the left mouse-button ...

Dragging a widget down a long list so that scrolling is necessary with gwt-dnd

I'm investigating using gwt-dnd to implement drag-and-drop reordering of a list of widgets. The list might be longer than its visible area, and so I'd like the user to be able to do that drag-the-widget-near-the-bottom-and-the-list-auto-scrolls behavior that's pretty much standard. Does gwt-dnd have this support built in anywhere? If ...

multiple draggable item into a single target AS3

Hi, Im new to AS3 and was wondering if there is anyone out there that can help me with this... Im creating a drag and drop Flash activity where there is 1 target and multiple draggable items. In my case I have 4 apples and I want to be able to put all apples into the same basket. I can get the draggable item into one target but i canno...

drag and drop ordering of images

Hi, I have 5 images that go into a banner on my homepage. These images are stored in the database but what I would like the user to do is drag and drop them so they retain some order. What I need to do is a (i) drag and drop the images in a container div so left if position 1 and right is position 5. (ii) on sumbit save the position...

How to check whether a clone of an element exists in the document -- Jquery/JavaScript

I have some draggable elements in the DOM, which if dropped become draggable disabled. Now there can be only one element in the droppable at a time. So if the user drags another draggable and drops it, the previous dropped element must get removed from the droppable and the currently dragged element must replace it in the droppable. How ...

I need to know when a VerticalPanel changes size

I'm using gwt-dnd to implement drag-and-drop functionality in my GWT program. To get scrolling to work right, I need <ScrollPanel> <AbsolutePanel> <VerticalPanel> <!-- lots of draggable widgets --> </VerticalPanel> </AbsolutePanel> </ScrollPanel> I have to manually set the size of the AbsolutePane...

C# Drag and drop to application taskbar icon

Is it possible to drag and drop (files, text) to the taskbar icon of a WindowsForms application (C#)? I know there's no easy way to do it for the tray icon (it involves using Win32 API and hooks), but I was wondering if it's possible for the taskbar. ...

Drag and drop files/text to tray icon (C#, WindowsForms)

I'm trying allow drag and drop to the tray icon on my application. I know it's impossible to do this with the higher level C# WindowsForms API, since NotifyIcon doesn't support drag events. So with a little help of a more windows-experienced friend I set out to try this via Win32 API. The idea was registering a hook in the tray window ...

Delphi - when to call DragAcceptFiles

I have procedure TMainForm.FormCreate(Sender: TObject); begin DragAcceptFiles (Handle, True ) ; end ; but the form does not accept dragged files - no drop cursor, no firing of WM_DROPFILES message. I had the following construct in my FormShow event (for a different reason - there was code I wanted to execute only once after the for...

JavaFX Drag and Drop with Interacting Objects

Hello all, I am attemping to implement drag and drop that is not just an image being dragged around the screen but has interaction between dragged and droppedon object. in short what I'm trying to achive is: When i drag one 'source' object and drop it on a 'target' object the 'target' object recieves information about the'source' tha...

NativeDragEvent for drag and drop from the desktop not called Flashbuilder debugger

If I build my mxml file to an .air application, NativeDragEvent works like a charm. However, I would like to be able to debug this feature from Flashbuilder. From Flashbuilder, the NativeDragEvents are not called. Any workaround? ...

WPF/WinForms DragDrop IDataObject

Hi, I was wondering why WPF defines a new and apparently identical version of IDataObject for its drag/drop system? I have application code which uses the winforms IDataObject which I now need to interoperate with WPF drag/drop events. Would it be safe to simply write an adapter class which implements System.Windows.Forms.IDataObject b...

Jquery UI Drag and drop - How to get parent and child elements

Hi Guys, I have two divs source and target. Both have "ul" and "li". I have set the ul to be draggable. What I want to do is to drop all the "li" (child) pertaining to ul being dragged to the target. Given below is my code: $(".source .primary").draggable({ revert: "invalid", containment: "#documentPartsMaintena...

Flex 4 Drag-n-Drop with custom DragProxy

Hi, I'm doing the drag an drop of an ItemRenderer manually (DataGrid) and want to know how to generate a custom DragProxy of a component that hasn't been added to the display list. I tried something like this but didn't work: private function doDrag(event:MouseEvent):void { var dragSource:DragSource = new DragSource(); d...

iOS - Drag and drop collision detection How to detect when your selected item drags over another subview?

We are adding drag and drop functionality to what is to become a sports field with positions for players. The positions are mapped out using Interface Builder with each being a separate UIImageView. We want to be able to drag player images from bench positions from the side of the screen onto positions on the field. How best can we d...

c# Drag and drop functionality

Hi there! In short, I want to make an application in which users can drag a file form their finder (mac), or their computer explorer (PC) to a location on my application, and then have that dragged file be loaded into the application. I don't have any kind of access to any drag and drop events (Supposedly), as I am using a rendering eng...

DoDragDrop() to windows 7 taskbar

I am trying to allow drag&drop from my program (winforms) to windows 7 taskbar (pin my program), without success. What am I doing wrong? DataObject objData = new DataObject(); objData.SetData(DataFormats.FileDrop, true, new string[] { Application.ExecutablePath }); ((Control)sender).DoDragDrop(objData, DragDropEffects.Link); ...

Drag and Drop Divs and compare values

I have four divs with custom Attributes like: <div marker="A">A1</div> <div marker="A">A2</div> <div marker="B">A3</div> <div marker="B">A4</div> Now I would like to use jquery to make each div drag- and drop-able. Now when a user drags e.g. div A1 on div A2 (vice-verca would alos be possible), it shall compare the marker attribute an...

Splitting a touch sequence between multiple UIGestureRecognizer instances

I'm developing an iPhone/iPad app that supports dragging items between table views. Since all the tables don't fit on screen, I've written a custom UIScrollView that lays them out horizontally, and supports paging. While I've gotten the primary drag and drop together, there are a few remaining issues I can't get past. After the user h...