drag-and-drop

Dragging an Image from Safari and dropping it onto dock icon does not work in snow leopard?

I've got an app: You can drop an image file onto the app's dock icon and it will upload the image to a free image hoster. In 10.5 you could drag an image straight out of safari (and any other browser) and drop it onto the dock. (The app opened the image from the temporary folder the browser put it in and uploaded it to the net.) Now in...

drag files or folders in textbox? C#

How do i drag files or folders into a textbox? i want to put the foldername in that very textbox. C# .NET ...

DragNDrop from Java to Windows Explorer

I want to create an application in Java that lists a directory and add drag and drop support to it for copying files from that directory to the explorer window opened and vice-versa(Windows system). While adding support to drag and drop from windows explorer to the java application is quite easy, it kind of eludes me how to do it when t...

Dragging objects out of an IFrame

I have an IFrame on my page pointing to a page containing list of <li /> elements. The <li /> elements are Draggables created using Scriptaculous library. The question is how do I drag the elements OUT of the IFrame, and drop them on the page containing the IFrame? Is there any library available which supports cross frame dragging & dr...

Drag'n'Drop Support for NSTableView with CoreData Storage

Hi, I have to NSTableViews in my application both display the data which is being stored as "CoreData". The TableViews are pretty basic, as the whole programm is. The right TableView shows a list of checklists, the left shows the contents of this checklist. Now I want to allow a user to drag an item which is inside a checklist to an...

GWT Simple Drag and Drop for custom widgets

Are there any GWT gurus out there who can guide me on how to start with Drag and Drop in GWT for custom widgets. I have a build a simple tree structure by putting custom widgets inside an HTMLPanel (table rows) and want to be able to drag and drop each widget above or below other widgets but don't know where to start I am using 1.6. I ne...

How can I give a component more than one DropTargetListener?

I just learned (the hard way) that Java Components can only have one DropTarget. No sweat, I said, I'll just add another DropTargetListener to that DropTarget--only to discover that DropTargets can only have one DropTargetListener! I have two DropTargetListeners that listen for very different events (one handles things being dragged an...

Jquery simple photo manager demo - recycle trash completely

Hi, I'm using the Jquery's simple photo manager just as it is and it's working properly. http://jqueryui.com/demos/droppable/photo-manager.html All I need is the possibility to recycle all the elements from the trash by a single click. Sounds simple but I couldn't get it so far. Ok, I'm a newbie to Jquery. Help would be appreciated! ...

Can someone tell me how to create a "drag target line" in a winforms listbox that shows whether the drop source is being dropped before or after the drop target

Hello, I have a user control that is hosting a winforms listbox. I am re-sorting items in the list using drag and drop. I realized that I need a drag "target line" that shows whether I am dropping before or after a target. Any suggestions. I am open to suggestions. I am not wed to the listbox. I can use another winforms control (t...

dojotoolkit help

i am new to dojo actually i have three divs and div no1. have 10 pictures and other two divs are empty. i want user can drag pictures to any div (2,3) or drag back to div1 in last i want to store in db using php. can any body help me.? ...

dojo drag and drop Avatar

i am using dojo drag and drop, its working fine, only problem i have is when i start dragging, cursor come little up and left from the Avatar. which look vary bad. is there any solution for that at least move can be inside the Avatar... any solution, css , tables etc... ...

jquery drag and drop

i am using jquery for drag and drop its works fine with 2 divs, i can drag image across 2 divs one div is drag able other is drop able what i want is to have 4 divs, where i have images in each div and i can drag imge from one div to other. is this possible in jquery ? if yes can you write a little code for me...? Thanks ...

e.data.GetData is always null

I am working with Visual Studio 2010, developing an Extension I need to drag and drop from a WPF TreeView in a Toolwindow onto a DSL Diagram but when I call e.data.GetData I can not get a value and want to know what I am doing wrong private void OnDragDrop(object sender, DragEventArgs e) { if (e.Data.GetDataPresent(type...

Drag and drop onto Flex AdvancedDataGrid

How do I determine which Flex AdvancedDataGrid cell - row and column index - I've just dropped onto? calculateDropIndex seems to give me the row, but how do I get the column? ...

jquery drag and drop

Dear i am new to jquery and i got following example from this website, http://web-design-dubai-uae.blogspot.com/2009/09/jquery-drag-and-drop.html now what i want is: can i able to drag back from Trash how can i get total Pictures in Album and Trash to store in mysql using php. Thanks http://stackoverflow.com for helping. ...

Flex 3.0 Drag and Drop

Hi all! I have encountered a problem in a Flex application. I have implemented drag and drop support from a List to a Canvas, and I DragManagers doDrag() - with.a proxy-image. In my custom DragDrop event handler, i place a new item on the Canvas. I use the event.localX/localY to position the new item. It is working ok, but the proble...

After jQuery poll, do I have to destroy and re-init draggable and droppables?

when polling the server do i need to destroy the draggables and droppables before i re-instantiate the functionality? Basically every so often I run a function that updates a div and then i have the function run: $(".dragMe").draggable({helper: 'clone', opacity: 0.50, appendTo: 'body', zIndex:4, addClasses: false}); $(".drop").drop...

WPF MVVM Drag and Drop onto another Control to raise an event only

I've got two ListBox's with objects as an ItemsSource populating them. Right now, I'm using a DragDropHelper to let me drag an object from one ListBox to the 2nd ListBox. I run custom code to change an attribute on the Object and update my two ListBox collections of objects. However, now I want to be able to drop one of these objects on...

Dragging and dropping to a TreeView, finding the index where to insert the dropped item

I have a WPF treeview with one level of child items. I am using the HierarchicalDataTemplate for the top-level items, so the child items are bound to a backing data list. When I'm doing dragging and dropping I want to find out where in the target list the new items should go to. I have broken the scenarios down into the following cases:...

MouseDown/MouseMove/Click Issues with Flex Drag and Drop

In Flex 3, I have an ItemRenderer that has a button in it. I want users to be able to click and drag this Renderer, but also just click the button. Right now it's working with the Renderer listening on "MouseMove" to initiate drag and drop, and the button listening on "click". However this is very screwy. If somebody is dragging a scro...