drag-and-drop

Delphi for PHP

I just came across Delphi for PHP and my immediate response was "oh, no", but I think maybe I was being too hasty. Has anyone tried it? What do you think? ...

JQuery drag and drop - how to get at element being dragged

Hi, I am using the JQuery libs to implement drag and drop. How do I get at the element that is being dragged when it is dropped? I want to get the id of the image inside the div. The following element is dragged: I have the standard dropped function from their example $(".drop").droppable({ accept: ".block", ...

Drag/Drop inside an Application AND to another Application

I have a ListView containing file names. These file names need to be draggable to a TreeView, which is a drag/drop inside the application and works with the built in drag/drop support of Delphi - no problem. But I must also be able to drag/drop the ListView items to another application, e.g. Windows Explorer. This also works, for example...

jQuery: How to stop a helper from being removed if it wasn't successfully dropped.

I have a draggable with a custom helper. Sometimes the helper is a clone and sometimes it is the original element. The problem is that when the helper is the original element and is not dropped on a valid droppable it gets removed. My solution looks like this so far: in my on_dropped callback I set ui.helper.dropped_on_droppable to true...

How does one cancel/unaccept a drag-and-drop operation in Flex 3?

Goal: Allow the user to delete a record by dragging a row from an AdvancedDataGrid, dropping it onto a trash-can icon and verify the user meant to do that via a popup alert with "OK" and "Cancel" buttons. What is working: Dragging/Dropping a row onto the trash icon. If the user clicks the "OK" button, the record is deleted....

Javascript Drag and drop

Hey there, I'm looking for someone to explain how to drag and drop in javascript, I want a horizontal line with some customizable images in it. I've had a look at the online tutorials for these but find them very hard to use. thanks for any help. ...

Preventing click event with Scriptaculous drag and drop

I have some elements on a page which are draggable. These same elements have a click event which navigates to another page. I'm trying to determine the best way of preventing the click event from firing if the user is dragging but still allow the click event if not dragging. Anyone have any ideas of the best way to accomplish this? ...

Drag and drop from Windows File Explorer onto a Windows Form is not working

I'm having an issue dragging a file from Windows Explorer on to a Windows Forms application. It works fine when I drag text, but for some reason it is not recognizing the file. Here is my test code: namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { Initialize...

drag-and-drop problem in a Tilelist using an ItemRenderer

Hello, in my flex application, I created a Tilelist. In this Tilelist, I am using an ItemRenderer to create a box consisting of an image and an VSlider in each tile. The tile need to be dragable when you click on the image, but not dragable when you slide the slider. How can I achieve this ? I have been scratching my head searching on...

Radio Buttons getting deselected when dragging item using jQuery Sortables

I'm using the jQuery UI sortables plugin to allow re-ordering of some list items. Inside each list item, I've got a couple of radio buttons which allow the item to be enabled or disabled. When the item is dragged, both radio buttons get deselected, which doesn't seem like it should be happening. Is this correct behavior, and if not, w...

How to detect drag operation at windows global scope?

When I drag a folder at the edge of the screen in Windows XP, it become a toolbar, containing the files in the folder. How can windows detect there is a drag operation? If I want to write a application to detect drag operation in system scope, How can I do this? And another problem: how can I disable this windowsXP function, it is reall...

Cross-application drag-and-drop in Delphi.

I would like to create a Delphi application for Windows XP which allows dropping of files dragged from Windows Explorer (the Desktop or folder windows) or other applications which support this operation (such as Total Commander). What about vice-versa? When the user drags an icon from my application, I should be able to set the contents ...

How do you setup a handler for the dragover/dragdrop events in the MDI client area?

Using C# and the .Net framework 2.0. I have an MDI application and need to handle dragover/dragdrop events. I have a list docked to the left on my application and would like to be able to drag an item from the list and drop it in the MDI client area and have the correct MDI child for the item open. I can't seem to figure out where to att...

jQuery draggable table elements

jQuery's draggable functionality doesn't seem to work on tables (in FF3 or Safari). It's kind of difficult to envision how this would work, so it's not really surprising that it doesn't. <html> <style type='text/css'> div.table { display: table; } div.row { display: table-row; } div.cell { display: table-cell; } </style>...

Implementing A Draggable/Resortable Stacked List in jQuery

I'm needing to make this layout editor that uses a good bit of jQuery for letting one resort the items on their resume. I envisioned showing a dialog with a graphical representation of the sections, sort of like: [Details - locked -- immovable] [Overview -- immovable, but can be hidden or shown again] ----imaginary line where things can...

Drag'n'drop one or more mails from Outlook to C# WPF application

I'm working on a windows client written in WPF with C# on .Net 3.5 Sp1, where a requirement is that data from emails received by clients can be stored in the database. Right now the easiest way to handle this is to copy and paste the text, subject, contact information and time received manually using an arthritis-inducing amount of ctrl-...

Drag and Dropping an Object Reference VB.Net

I am trying to 'swap' two cells' contents, and their mappings. To do this, I need to drag and drop a reference to the cell as opposed to the string value itself. I can then use this reference to update a Dictionary as well as get the value. It allows allows me to do the swap as I will have a reference to the old cell to add the value nee...

Why does my custom drag and drop script fail?

Hi all, I am currently trying to code my own JS drag and drop script (out of sheer curiosity and boredom, I know it would be much easier with a framework). My aim is a fully working FF3 version , IE can wait for now. I just got stuck on a weird bug. When I drag the div for the first time, it works ok. When I drag it for the second tim...

Detect Drag'n'Drop file in WPF?

Is it possible to have a WPF window/element detect the drag'n'dropping of a file from windows explorer in C# .Net 3.5? I've found solutions for WinForms, but none for WPF. ...

Disable drag&drop in solution explorer

Is there a way to disable the drag&drop functionality for Solution Explorer? Why would you ask? I'm using an wacom pen tablet for quite some years and I love it. But when you use it in solution explorer in combination with a source control like TFS or AnkhSvn it's a disaster when you accidentally move a file into an different directory...