This question is close to what I'm interested in, but not quite.
I have a .NET WinForms application written in C#. I have a ListView control which displays an array of C# objects. I've hooked it up so that you can drag/drop these listview items to a different form in the same application, and it properly passes the array of objects (typ...
I am looking for a way to reorder the content (items) of a WPF WrapPanel via drag and drop. I just want to click on an item and drag it to a new position.
To my understanding this is a very common task and I wonder I someone already did this or has any idea how to implement this functionality.
I did a google search already but found no...
I am denying a user the ability to drop into my tree during certain conditions, it's all going well, but I want to tell the user why I'm denying the drop. I would prefer to do it with a toolTip, but it doesn't seem to work. Can I not have a toolTip during a drag operation? How can I force one?
Flex seems to treat toolTips as a property...
Hi,
I was just wondering if there was an easy way to set an NSTableView to allow it to reorder its rows without writing any pasteboard code. I only need it to be able to do this internally, within one table. I have no issue writing the pboard code, except that I'm fairly sure that I saw Interface Builder have a toggle for this somewher...
I would like to allow re-ordering of tabs in a tabview, preferrably using drag and drop of the tab buttons. The example drag/drop code for lists, modified for tabs simply doesn't work (the dragstart event is never fired).
Is this even possible?
...
Hi,
I have this scrollview "eager" to be filled up with buttons (4 per row), and resembling iphone apps icons, I want the user to be able to rearrange them has she/he pleases. If it were one row of buttons only, Apple Autoscroll tutorial app would be an excellent example to follow. Not the case, this is 2D and I cannot figure out how to...
Hey everyone,
I am actually trying to make a .php page where I am going to have 3 draggable elements which have to be dragged to 3 droppable elements -each draggable to a droppable, and they are unique, so one each droppable will only accept a certain draggable.
The thing is that I need to control that all of the elements have been dra...
Here's the scenario (simplified): I have a control (let's say, a Rectangle) on the Window. I hooked the MouseMove event to make it initiate a drag&drop. Then in the MouseDown event I let it animate, moving 50 pixels to the right. However, when I hold my mouse down on the Rectangle, the control moves about one pixel, and then pauses. Only...
Hi
There is a list box with some items in it. Also there is a grid with 3x3 matrix. The user will be dragging an item and dropping on one the cells of grid.
Most of the samples I found are about dragging-dropping from one listbox to another listbox. But I want to drop in one cell of grid. How can I achieve this?
Please advise. thanks
P...
Hi, I have two div's.
When they are under eachother and I try to drag and drop items it's no problem!
When I (with css) alter them so they appear next to eachother I can't drag an item from the left box to the right... Maybe an options I'm missing I have to change? Can someone help me?
Here is my code:
<script language="JavaScript">
...
We have a collapsible tree implementation in our web app. I need to add support for simple drag-and-drop to it.
The question is, what should I use? I know YUI has a drag-and-drop component, but people I worked with have stated it's a pain to use with multiple DIVs which overlap and comntain each other (like my tree does).
Are there any...
I have a wysiwyg editor using the HTML 5 drag-drop api to allow the user to place widgets within the page they are editing. When the OnDrop event fires, I prevent the default event, and insert some html within the editor that represents the widget they inserted. I use execCommand("inserthtml", false, html) for this in Firefox.
This work...
Hi all,
I'm doing a Drag Drop to external app like this:
string[] files = new string[/* */];
// get files
DataObject o = new DataObject(DataFormats.FileDrop, files);
DoDragDrop(o, DragDropEffects.Copy | DragDropEffects.Move);
and some apps will take the files and move on to process them and my app is free to do it's stuff, but some...
Oh! Too many dragNdrops out there! Prefer the sleekest for my needs.
DragNdrop images: I want my visitors to select exactly 4 favorites from a "corral" of, say, 8 jpgs. Dragndrop each from the bottom "corral" up and into 1st Place thru 4th Place Boxes...
Unused images remain below, unmoved in "corral", blank space-holder if picture is ...
I have two listboxes. The listbox1 contains a list of the DB names. Listbox2, on the other hand, has a list the titles of the content associated by the DB on listbox1. Basically you click on listbox1 and it loads into listbox2 all the titles for the content of the DB.
I want to implement now a drag and drop feature. I know how to drag b...
From reading the documentation, it seems like you must send an array of bytes as the data. That makes sense for cross-program interoperability, but I just want to exchange data within my application. Is it possible to pass an object reference as the data?
...
Houston we have a problem:
I have a table with drop_receiving divs inside cells. And i have set of draggable widgets - divs also. I need to call methods of my controller onDrop with sending drop_receiving div id and widget id to it.
P.S. I think in future only ids of divs are not enough, but now i want to understand how to make Ajax req...
I am looking for a way to allow users to upload Outlook emails to a web-based system in a simple manner.
I can get this to work in a manual fashion for the users. They can drag and drop the email from Outlook to their desktop, which creates a .msg file. This works very nicely, esp. if there are attachments in the email which are als...
I have a dialog that includes file selection and it has a "Browse..." button. But it seems like it would be a good idea to provide some kind of drop target so that the user can use his/her favorite file browser to select a file (or files) and drag it onto my application.
Is there any standard practice for what to use as a drop target?
...
I'm using a DropTarget and implementing DropTargetListener to handle the drop events and it works nicely for accepting Files (just see if the Transferable has a DataFlavor which returns true from isFlavorJavaFileListType()).
Now I would like to disallow certain drop types, and give feedback appropriately:
disallow multiple Files (onl...