I'm testing a window that looks something like this:
Dragging a Tag to a Card links the Tag to the Card. So does dragging a Card to a Tag.
It's meaningless to drop a tag between two cards, or a card between two tags. I can ignore these outcomes in the Handle...DataReceived function like this:
if (dropPos != TreeViewDropPosition.Into...
Hi,
I have an NSTableView and I have successfully implemented both tableView:validateDrop:proposedRow:proposedDropOperation: and tableView:acceptDrop:row:dropOperation:.
I don't need tableView:writeRowsWithIndexes:toPasteboard: because that's for dragging objects out of the NSTableView.
Now, the problem is that I want it to behave kin...
Hi, i have TileList from which i'm dragging some stuff(image) to Tree (something like dragging sounds into playlist in iTunes), but when i can drop this stuff, i see only underline, this mean i can drop it only under or above some leaf-element in that Tree. How can i force it to hide this black underline and highlight leaf-element to whi...
Is there a bug in WPF Drag and Drop when it runs in RTL mode?
It seems it does not update the drop object area which it's FlowDirection set to RTL.
I currently using WPF 3.5 + SP1 and facing this problem, Additionally, it seems this is inherited in WPF 4.0 and also does not work properly in VS2010.
Who can providing a solution or workaro...
Howdy,
I got stuck in a situation. I have completed all of my codes necessary to drag and drop from a TreeView to a DataGridView, and the code works fine. Set DataGridView AllowDrop to True, set all the necessary handlers to accommodate dragging and dropping data from a populated TreeView control ( using a directory structure ).
What...
Hi !
I'm reading a foreign source code and there occurs sometimes a
NullException
by Drag'n'Drop operation. The problem is, that all parameters are never null, so I'd like to be able to debug this method somehow.
Any ideas ?
...
What data flavor should I use to transfer a list of strings? I guess I can serialize the list of strings in JSON format, but was hoping I could just transfer a List directly.
...
In my application (Delphi 2007) I want to drag items from a ListView to a PaintBox and highlight corresponding areas in the PaintBox's OnPaint handler. However I always get ugly artefacts. Do you have any advice how I can get rid of them?
Test project: Just create a new VCL application and replace the code in Unit1.pas with the followin...
Hi,
I am trying to implement a drag and drop between listboxes.I successfully implemented it using the library from http://code.google.com/p/gong-wpf-dragdrop/.Everything works fine but when i had to call some custom logic which involves some selection changed events also,My ui fails to detect mouse clicks anymore.No control in my hole a...
I have two child windows that I want to accept drops from drag+drop objects in two different ways.
One is a JPanel that I want to accept a list of files. It works fine.
The other is a JTable that I want to accept a list of strings. It works fine if I don't enable the JPanel as a drop target.
When I try to enable both, the JPanel drop ...
Hi all,
I am working on mac mail like feature-
1. dragging a file on body of message being composed and showing it as icon, over it.
2. dropping the icon of file from message body back to desktop or to any folder, so that it gets downloaded in it.
I am able to implement the first point using NSTextView and calling method: -(void)setImp...
Hello,
I'm using Python and I want to do a drag & drop interface.
For example, with a large picture whose size is bigger then the screen, I want to click on it and drag it to see other parts. Something like "google maps"!
In google maps if we click two times we do "zoom" but if we click one time and while pressed, we move the mouse, we...
Hello,
I've been trying to figure out how to drag and drop an image into a QGraphicsView using Qt and the QtCreator IDE.
I have read the documentation here: http://doc.trolltech.com/4.6/qgraphicsscene.html#dragEnterEvent
This documentation is too general for me to understand. Can anyone give me an example that works?
I also found a ...
How can I create draggable zones in cocoa and be able to drag and drop images between the two.
Ex:
Zone 1:no image
Zone 2:image
drag zone 2's image to zone 1, and be able to save (core data) the location of the image.
Would I have to do something like this: http://developer.apple.com/Mac/library/documentation/Cocoa/Conceptual/Dragan...
This is a screenshot of the canvas.
I have a visual objet - circle table. It has circles around it - circle chairs. On those chairs a user guestIcon object by dragging it onto the chair. guestIcon has a label child visually near the chair itself. I explicitly assign a hitArea for each chair (and a guestIcon object has a hitArea too, whi...
I have been developing an app in VB.NET which requires a control object (for example, a ListViewItem) to be dragged out of the form, and to a user-specified location (for example, on the desktop, or in a folder).
However, The file that is intended to be 'copied', as the 'ListViewItem' represents, does not yet exist. It needs to be downl...
I have a program and when they drop files into it I want it to get the path show a messagebox "of the path" then delete it. Can anyone shed some light on how to do this?
...
In Interface Builder.app (and some other cocoa apps), image dragging has a very nice/sexy effect of morphing the drag image while you drag a draggable item out of its window.
For example in Interface Buildler.app:
Show the Library Palette (⇧⌘L, or Tools Menu -> Library)
Drag an item out of the Library palette
NOTE: as you drag the ...
Hi All
I have code that lets be drag around a borderless form in winforms that I've been using for several months now, which works extremely well.
But when I first was given the code, they used this.Invalidate(); in the MouseMove event of the Form, and the Form flickered a little and was slow when dragging around. So, I replaced Invali...
I have a select and drag code that works well until in selection is added a position relative div.
Here is the code and you can see a working demo at http://jsbin.com/azeli/2
To see the problem just mouse select span 1, span 2 and the nested span 4
$(function() {
var selected = $([]), offset = {top:0, left:0};
$("#selectable1").se...