Questions tagged [drag-and-drop]
It allows you to "grab" an object using the mouse and drag it to a different location. Drag and Drop can be done on browser-based application (web) or on native GUI applications like android or desktop
drag-and-drop
13,459
questions
6
votes
5
answers
9k
views
Drag and drop in winapi
I have a pure Winapi application that needs a few new features. One of them would best be implemented as two lists where you can drag-and-drop (multiple) elements between the lists. The new feature ...
3
votes
2
answers
2k
views
How to create nestable draggables in Scriptaculous?
I'm using the Scriptaculous library to slap an appealing UI on an application which helps an enduser build lists. Let's say its for pizza creation.
To fill out an order, you drag a size of pizza ...
3
votes
1
answer
5k
views
jQuery UI droppables - changing the image that's dropped
I'm working with jQuery UI's droppables and am wondering what the best way to make the dropped clone use a different IMG SRC than the item being dropped.
In the photo manager demo there, the ...
1
vote
2
answers
917
views
Dojo DnD acceptance of outside objects
Is it possible to code a Dojo DnD target to accept external objects, such as files or folders from a file explorer? Windows Explorer, for example.
62
votes
8
answers
78k
views
Drag and drop onto Python script in Windows Explorer
I would like to drag and drop my data file onto a Python script and have it process the file and generate output. The Python script accepts the name of the data file as a command-line parameter, but ...
3
votes
3
answers
4k
views
How can I read raw (CF_HTML) clipboard data in a webpage or C#?
If I drag and drop a selection of a webpage from Firefox to HTML-Kit, HTML-Kit asks me whether I want to paste as text or HTML. If I select "text," I get this:
Version:0.9
StartHTML:00000147
EndHTML:...
5
votes
1
answer
2k
views
QDrag destroyed while dragging
I have a Windows/Linux Qt 4.3 application that uses drag and drop in a QTreeView. I have two very similar applications which use the same set of Qt libraries. Drag and drop works in both on Linux ...
6
votes
6
answers
3k
views
Is it possible to drag and drop from/to outside a Flash applet with JavaScript?
Let's say I want a web page that contains a Flash applet and I'd like to drag and drop some objects from or to the rest of the web page, is this at all possible?
Bonus if you know a website somewhere ...
12
votes
9
answers
29k
views
HTML drag and drop sortable tables
Ever wanted to have an HTML drag and drop sortable table in which you could sort both rows and columns? I know it's something I'd die for. There's a lot of sortable lists going around but finding a ...
1
vote
3
answers
992
views
Can't Drag Items Onto An Empty List Using Scriptaculous Sortables
I have three unordered lists that have been created as Scriptaculous Sortables so that the user can drag items within the lists and also between them:
var lists = ["pageitems","rowitems","columnitems"...
286
votes
9
answers
209k
views
How do I drag and drop files into an application?
I've seen this done in Borland's Turbo C++ environment, but I'm not sure how to go about it for a C# application I'm working on. Are there best practices or gotchas to look out for?
1
vote
3
answers
750
views
MFC: MessageBox during a Drag-Drop
I need to display an error message on rejecting a drop in my application.
I tried this in the OnDrop() but then the source application hangs until my message box is dismissed.
How can I do that?
8
votes
3
answers
4k
views
Javascript tree views that support multiple item drag/drop
We are currently using the ExtJS tree view in an application - a requirement has arisen requiring a user to select multiple nodes (which the tree view supports currently through a pluggable selection ...
0
votes
2
answers
2k
views
How to implement mouse dragging in Visual Basic?
I need to create a quick-n-dirty knob control in Visual Basic 2005 Express, the value of which is incremented/decremented by "grabbing" it with the mouse and moving the cursor up/down. Because the ...
20
votes
1
answer
19k
views
DoDragDrop and MouseUp
Is there an easy way to ensure that after a drag-and-drop fails to complete, the MouseUp event isn't eaten up and ignored by the framework?
I have found a blog post describing one mechanism, but it ...