Hei,
i want to allow a user to drag an image from a web page into my web app and then store and use the image url elsewhere in the application. So i'm creating an input field as the drag target.
But since that allows to drop any draggable web object (like links), i need to do some error checking. I could put a button there, but it woul...
Is there some way to enable Visual Studio 2008 to accept dropped files from Windows explorer?
I can't count the number of times I've instinctively dragged a file into VS just to be reminded of this obvious feature than seems to be missing.
Surely there has to be some way to do this.
EDIT
I did find the VS Explorer addin while searc...
I'm trying to make some drawing application and I get strange results in my "selection mode". If I draw a rectangle and "select it" RenderSize returns proper Size for it, but if Line is selected RenderSize returns Size which has Width set as Line.X2, and Height set as Line.Y2. For example: Line begins at X1 = 50, Y1 = 50, ends at X2 = 13...
I have a VB6 Application which creates an instance of the internet explorer and implements drag and drop for this instance. I am using the event BeforeNavigate2 so that when user drops a file or a folder on the explorer, the event will return the path.
......
Public WithEvents myIExplorer as new SHDocvW.InternetExplorer
......
Private S...
Hello
I've been struggling with this for quite a while
My application contains a list view, populated with file-names, which are located on a server.
I'm trying to implement drag and drop functionality, so the user can drag files from my application into his/her's local computer.
In order to do this, first i'm downloading the files i...
Sometime ago I was facing the problem the other way around: how to drag an item (folder/file) from an explorer window (be it windows explorer, linux nautilus etc.) to the browser window - that is, the drag starts in one application and ends in the browser. Since I had control over the browser, I was able to intercept the dragend event: t...
It should be a combination of CSS and Javascript,
The main jobs to do should be:
Make it on top of all other elements (which property to specity?)
Catch the event it is clicked (which event to listen to?)
Move the div as mouse moves.
but what are the details?
...
I'm trying to implement drag and drop behaviour between a bunch of ListViews. I've found this solution that uses attached properties: http://www.beacosta.com/blog/?p=53
But whenever I try to perform a drag and drop, I get the following error message in the debug log:
A first chance exception of type 'System.IndexOutOfRangeException...
I have a windows form that contains two usercontrols. One usercontrol contains two list views. The other usercontrol has a grid.
Within the first usercontrol the two list views drag and drop their contents between each other.
The grid usercontrol is setup to dragdrop onto the listview usercontrol.
The problem is that the drag drop eve...
Hi
I have got a C# UserControl in a Windows Forms Application which supports drag and drop. In my case, the location of the Control is not changed when dragging, only a new Control is spawned where the cursor is released.
This UserControl also owns a ToolTip. When I move my mouse over the Control, the tool tip pops up. Drag and drop als...
Hi, I need to drag a row from NSTableView containing an image path and drop it over NSImageView, and the image of the dragged row should appear in the imageview. Help appreciated
...
When I start a drag and drop using a right click in WPF it will fire the drop on any target with out waiting for the right mouse button to come up.
...
I've set a ondrop event on my drop area and it receives an event when I drag an image from my desktop to the drop area.
However, according to the Recommended_Drag_Types document:
https://developer.mozilla.org/en/DragDrop/Recommended_Drag_Types
A local file is dragged using the application/x-moz-file type with a data value that is a...
Hi everyone,
I'm trying to use jquery easywidgets plugin,
When i tried to drag and drop on the any widgets, divs style changing, especially texts are pixelerate.
you can also see on the pictures.
Before drag
After drag
What can i do for solving that problem ?
Thank you
...
I'm trying to make a calendar page where you can click and drag to select multiple calendar days at once. Everything works fine in Google Chrome, but in Firefox, when I try to start dragging, it fails. The reason for this is that each calendar day is contained in a link (<a></a>). When you try to drag links in Firefox, it does its own...
I have a WinForms app that has a TreeView. The user can drag files from WindowsExplorer to the TreeView, and then they can drag the files back into WindowsExplorer which in affect copies the files to wherever the files were dropped. What I'm trying to do is, if the files already exist in the directory where the files are being dropped, I...
Hi,
I have a query about drag-drop in C# using .NET.
My issue is with remote files. I have a list of remote files which the user can drag into an explorer window (desktop, etc). When such a drag occurs I want to be able to download the file and write it to the drop location.
The normal method of dragging files:
private void StartDra...
Dear all,
I'd like to know how to create draggable elements using jQuery UI that once they are dragged and dropped into another container, regenerate the same item. For example, I can drop a button from container A to container B, and once I do that, the same button (a clone) re-emerges in container A.
Thanks in advance.
...
I am trying to make an image draggable but drag a clone of the image (rather than the image itself). The copy seems to be working fine but the onmousemove trigger doesn't seem to fire until the onmouseup trigger has fired. I wouldn't think this is how things worked.
Working Code Below
var Draggable = {
obj : null,
clone : null,
...
Hello,
I'm trying to be able to drag random highlighted text or images on a random page that is not written by me, thus I cannot simply wrap the text in a div and make it draggable.
Is there any way to get highlighted text or images on a random page, like say Yahoo, and drop it into a container that can recognize what was being dropped...