drag-and-drop

Drag and Drop and single click style. Why did it work TWICE ?

Hello guys, my application uses Drag & Drop operations. Everything worked perfect. Recently, some user changed system options: Control Panel --> Folder Options --> Single click to open an item (point to select). And now all my drag & drop operations worked TWICE. How could it be ? What should I change to avoid that type of behaviour ?...

Silverlight equivalent to jQuery UI Sortable Lists?

Damn, I'm so ignorant. I'm looking to replicate this in Silverlight http://jqueryui.com/demos/sortable/ But where to start? Thanks ...

Dragging out of list causing weird behavior

I have a list that contains some interactive elements, including a custom textinput (Hillel Coren's FlowBox from his AutoComplete open source project). I'm trying to support drag and drop to reorder elements in the list for all of the other elements except for the FlowBox, but for the time-being I found a weird error that occurs when I d...

flexible drag/drop with jquery (like this javascript)

I'm trying to understand how this drag/drop javascript example would be done in jquery. I'm guessing the jquery version will be cleaner, more efficient, and easier to understand. ...

ItemsControl Drag and Drop

I have an ItemsControl with a DataTemplate that is bound to an ObservableCollection of integers. <ItemsControl Name="DimsContainer" ItemTemplate="{StaticResource DimensionsTemplate}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal"/> </ItemsPanelTemplate> </ItemsCont...

RichFaces upload file with drag&drop?

Dear All, Could we have a way to integrate richfaces upload file with html5 drag & drop? Thanks, Huy ...

Drag anything onto the desktop

Hi All Is there a way that we can drag text or images onto the desktop itself from within another application? Say for example there is some text in my app, and the user wants to drag it right onto the desktop, and be able to move it around and edit it right on the desktop... Would this be possible at all? Thank you :) I mainly use C...

How to stop Div Moving out of the border Jquery draggable();

How to stop the div from moving out of the border div Here is the code i got so far. <script> $(document).ready(function() { $("#draggable").draggable({ grid: [50, 20] }); }); </script> <div id="drag_border"> <div id="draggable" style="width:500; height:800">Drag me</div> </div> Thank you, ...

DoDragDrop() from another thread

Every time i want let the user to drag an control, i calling DoDragDrop of that control. The drag & drop works fine, but i have problem with things around: DoDragDrop completely blocking the form, no timer events jumps, no paint messages handled. DoDragDrop blocking not only for the drag & drop operation, but until target program fini...

Make New Div Draggable in Jquery

I am trying to make jquery add new div and then make it draggable but i have been trying and looking on google and i can't find anything here is my code below $(document).ready(function() { $("#draggable").draggable({ containment: 'parent', handle: 'drag_border', drag: function(e, ui) { var top = ui.position.top; ...

HTML5 - Is it possible to drag an audio/video file on a users local machine and have it automatically play in the browser?

I would imagine this is possible if the app could access the full location path of the dropped file, but it doesn't look like this is available. ...

Drag And Drop from Java Swing Application to Windows Explorer

Hi, I have question about Drag And Drop in Java. I was able to to implement drag and drop files from Windows Explorer to Swing application. Now I need to oposite direction. I have JTable which contains Column with object type File. I just need to detect which file (files) are dragged and where in Windows Explorer. Thanks in advance. ...

C# How to drag drop a firefox tab to a winform application

In firefox, you can dragdrop tabs to either bookmarks or any text field, but is it possible to drag drop these tab outside of firefox? Also, is there a better way than string vHTMLNames = (string)e.Data.GetData(DataFormats.Html, false); to get a dragdrop of html adress? (It is annoying to have to scan the string to find the adress ...

Silvelight 4: why items are not moveable?

There is a "field" on which some items are draggable: Here is a XAML code: <Canvas Height="180" Width="169" > <Image Canvas.Left="0" Canvas.Top="0" Height="180" Width="149" Source="../Picts/field.png" /> <Pages:FieldItem x:Name="Item2" Canvas.Left="129...

Silvelight 4: how to make CustomList items draggable

I have a list of object that need to be displayed and moveable on the canvas. Could you please describe idea how to do that? Thank you in advance for you help and time. P.S. Actually I have some kind of solution (it is listed here: http://stackoverflow.com/questions/3553188/silvelight-4-why-items-are-not-moveable) but it doesn't work. ...

Drap and drop selected anchor text from browser window

Hello all I am performing a drag-and-drop operation of an anchor text selected in a browser window onto an app created in C#. Consider this link <a href="http://www.google.com"&gt;Google Me</a> In case of IE browsers... When I select the anchor text "Google Me" and drop it onto my application, the text dropped is "Google Me". In c...

Implementing Drag-to-Submit Form

Hi All, I am sick to death of assholes spamming my site, and I hate those stupid Captcha things, and my customers have had it up to their necks with the captcha on my site. So, I had an idea. What if there was a small line. And all they had to do was simply drag a circle from the left of the line to the right. And once the circle reach...

WPF: Can't drop filename in textbox

I'm trying to drop a file into a textbox on my WPF application but it won't work. I believe I have the XAML setup correctly to do this, and a PreviewDragOver event handler does work-- just not Drop or PreviewDrop. Here's the XAML in question: <Window x:Class="TableTagCount.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006...

How to drag&drop from a DataGrid to a Google Maps Polygon

Hi everyone, I've been testing a lot of things in order to make a drag&drop between a DataGrid and a Google Map Polygon. 1st Attempt : I tried to enable dragging from the dataGrid and add listeners to the Polygon. The problem is that I only get the dragEnter listener working. For example, it seems that no dragDrop event is fired from a...

How to access dropped files in a droplet style cocoa application

Pretty much all the apps I use on a regular basis implement this 'seemly simple' scenario, yet I can't replicate this in my own Cocoa application. Please consider these steps: The application is not running You drop a file, or a selection of files onto the app's icon. The app runs and performs some actions on the dropped files. Maybe i...