I am looking quite long for a solution for this. I found a great demo by Nathan Smith, using jQuery and interface to drag and drop favourites into a list.
The demo is here:
http://host.sonspring.com/dragdrop/
But how can I save the list to mysql database.
...
you know ,when you drag a chrome tab from one place to another,it will appear a small pic along with your pointer,
how can implement this effect in c# code ?
is anybody has some ideas?
thanks!!!
...
I am trying to take text from a list box control and put it into a particular cell in a data Grid. I am using the following code:
private void DG_DragDrop(object sender, DragEventArgs e)
{
DataGridView.HitTestInfo theHit = DG.HitTest(e.X, e.Y);
int theCol = theHit.ColumnX;
int theRow = theHit.RowY;
...
hi..am relatively very new to gwt n dnd.. i have created a composite widget.. when i try to make the object of the composite widget draggable it throws an exception
"dragHandle must implement HasMouseDownHandlers, HasMouseUpHandlers, HasMouseMoveHandlers and HasMouseOutHandlers to be draggable" am i missing something very importand?...
I have a VBox containing a bunch of panels. I have implemented dragging and dropping but I need to be able to scroll automatically when the item is drug near the edge. I am having mixed results. I can get it to work, but not well. My example is below. It works if the user bounces their mouse around a little near the top or bottom edge, b...
I need to get the URLs of all files dragged/dropped into my application from Finder.
I have a Cocoa app running on 10.6 which does this by using the new 10.6 NSPasteboard APIs which handle multiple items on the pasteboard. I'm trying to backport this app to 10.5. How do I handle this on 10.5?
If I do something like below, I only get ...
I'm improving standart WPF TabControl. I want to add undocking functionality to it:
user drags the page just outside the TabControl and this page undocks in the window.
I want two events in this control - PageDragStart (raises when the page dragged outside) and PageDragEnd (raises when the page dropped outside)
I've got no problem with ...
Hi all,
I am looking for a Javascript calendar with support for drag-and-drop, extensive events model (drag, drop, deletion/adding of items).
Also has to be capable of displaying a schedule for multiple persons. That'd be something similar to "Multiple Resources" view of http://dhtmlx.com/docs/products/dhtmlxScheduler/index.shtml
Fre...
There is a HTML textarea. I'm able to catch that event when a local file is dragged and dropped onto the textarea. But how to obtain the name of the dropped file? (To be modified and inserted into the textarea finally.)
The following expressions returns None in that case:
event.dataTransfer.files
event.dataTransfer.getData('text/plain'...
Hi: I am running of a problem when I am trying to make a special drag drop in JQuery.In few words.
from the link above you can see that when we drag the boxes to the dropping areas (the left red boxes) they ( I mean the droppable boxes) does not seem to be activated unless the dragged box reach the center of the target ( the droppable b...
I have a WPF application which contains a WebBrowser control.
Currently, the user can select something within the WebBrowser and can copy the content by dragging it out to another application and dropping it there.
I'd like to be able to stop the user doing this. I'd assumed that there would be a "DragStart" event that I could capture...
I have good model (I think!) for how to allow a user to drag an element in a stackpanel and reposition it to another location within the stackpanel.
However, my Stackpanel is placed within a ScrollViewer, like this (generalized):
<ScrollViewer>
<StackPanel>
....First item
....Second item
....Third item
...
I'm trying to write some absolutely barebones code where I can drag a plain 'dot.txt' file onto an NSWindow and read in the data (and nothing fancier than that), but all the examples I've been able to find use images and NSViews etc.. Apple's 'Dragging File Contents' section in its "Drag and Drop Programming Topics for Cocoa" documentati...
I am trying to drag an item out into the explorer.
The item should result in a file download, so I've used an example I've found on the web to download the file using a CustomDataObject that calls an event when he actually needs the stream, and then my application does the heavy lifting and performs the download.
It's been working just f...
I have a wxTextCtrl-derived class that overrides OnDropFiles. However, dragging something over the control does nothing. (The cursor changes to the 'not allowed' cursor.) I tried DragAcceptFiles(true) but that only enabled the built-in drop handler. (Which just loads the file into the control.) How can I get my own handler to be invoked?...
I'm trying to write some simple code to drag-and-drop the contents of a text file onto a window. With some help from an earlier post and an Apple example I've now got the basics of drag-and-drop up and running.
Unfortunately however, Apple's sample code deals only with images. Can anyone please tell me how I'd modify their "pasteboard" ...
Okay, I've got a custom class called "Task", which represents a task to be done. I've got an NSMatrix which acts as a calendar. I want the user to be able to drag an icon from an nscollectionview (I've had no trouble setting up the nscollectionview) onto a cell in the nsmatrix, thereby assigning that task to that day. I just can't see...
I have a C# WPF app that allows users to import files by dragging them in from Windows Explorer and dropping them on the main app window.
It works fine when dragging files from physical disks, but when dragging files from a connected device like an iPhone or camera connected via USB, I don't recognise any of the data formats returned by...
Hi All
I have a question about drag and drop in WinForms. I know how to enable the user to drag and drop controls around inside the form, but what I'm now trying to do is enable them to drag a LinkLabel ontop of a"Recycle Bin" icon inside my Form and when it detects that something has been dropped onto the Recycle Bin icon, that control...
hello
what is the easiest way to drag an image ( or text) in a wx window ?
i need steps or a small example on how to do that.
thanx in advance
...