I have a wxPython program where I want to be able to drag groups of controls around to reorder them. Each group of controls is on a panel, and I want the panel object to handle the drag-and-drop.
Currently it works if you click and drag on the panel itself, but it doesn't work if you click on any control inside the panel. This is beca...
Hello,
I have a CustomPolyLine class which connects several thumbs. th user is able to drag those thumbs. now i need to be able to select and drag the whole structure, by selecting multiple thumbs. how can i do this ?
...
Dragging happens from "source" to "target". When the source calls DoDragDrop() with allowedEffects as DragDropEffects.Copy, then I'm able to cancel the drop by setting Effects = DragDropEffects.None at the target (in DragOver event).
But the same situation fails when I set my allowedEffects as DragDropEffects.Move.
To reproduce the sit...
I'm using this tiny drag plugin to drag div.slider horizontally across it's div.container.
I do not want div.slider to be able to go past the bounds(don't want it to exit) div.container.
so when div.slider reaches the very right side of it's container div.container, i want it to not allow the user to drag it any further right, so that it...
Hi everyone,
I'm facing a pretty strange problem and I need some help from your brains :)
1) I'm using Qt 4.6.0
2) I want to enable drag&drop (Qt::MoveAction with QAbstractItemView::InternalMove only) on items in a treeview.
3) I have my own model and a proxy model used to perform some sorting...
4) Drag&Drop works well except for o...
Hi there,
I'm currently trying to receive key events during a drag and drop, but it seems to me that the focus is taken away while dragging so that I can't listen to any key events.
I'm dragging a JComponent subclass that implements KeyListener and requests the focus in the DragSourceListener's dragEnter method, but my assumption is th...
I tried using the solution posted here: http://stackoverflow.com/questions/811037/jquery-draggable-and-overflow-issue, but I can't seem to get it to work for myself. I have a container div (div#container) which wraps around all of my draggable divs. The div#container has its overflow set to auto. I've used the scroll option and set it to...
EDIT 12/21/09, End of the day:
I have managed to answer my own question so my bounty rep is lost to me :-( Anyway since my answer solves my problem I will award the bounty to anyone that can answer this. My solution uses AS to remove the the rollOut/rollOver while a user is dragging. In a dataGrid. How can you get the same result withou...
Interface builder allows you to move objects using drop and drag. Unfortunately, some objects may be on lower layers. These can be selected using shift-right click, but this doesn't allow drag and drop. Is there any way to achieve this?
...
Hi,
I'm trying to implement a dragging system which can only be described as similar to dragging the map on Google Maps. I can set up dragging easily in Flex, but unfortunately the standard model of dragging i.e. dragging an element proxy and dropping it in another element is not what I'm after.
Is there anything built into flex where ...
Using jQuery, and looking to let user drag a placeholder into a text area.
Each placeholder is a <span> which has a class='placeholder'. The text area id is simply 'main_text'.
So, user should be able to drag each placeholder span on top of text area, drop it, and then text gets inserted.
Most desirable effect would be to insert text ...
Hi,
I've been working with the drag-and-drop of items inside an Horizontal List in Flex. It works fine, but now I need to save the new order through AMF in my database. I'm pretty sure it's quite easy, but I haven't figured it out yet.
Is there a way to cycle (after the reordering) all the items so that I can get for each item its (new...
I'm creating a day planner using jquery, draggable and droppable.
When a job is dragged from the unassigned column into a hour time slot, the original draggable item is removed, and a new div is placed into page, with the job details.
This newly created div block of code, has all the parameters in it to make it draggable . When it's r...
Hi,
I am trying hard to make this work! I have a list of images inside a div which i make draggable. I also have a dialog which is triggered (open) when dragging starts. For some reason I cannot drop inside this dialog. I can drop everywhere else on the page except inside a dialog. here is my code:
$(document).ready(function(){
...
I have a C# application that creates shortcuts to launch other programs with specific arguments and initial directories. I would like the user to be able to drag a shortcut from the Windows form and drop it anywhere relevant like the desktop, the start menu, and so on but I don't really know how to handle that, could anyone point me in t...
How can I create a list where I can rearrange list items with dragging
list rows to another row and so on (to change to order)?
Just like on the HTC Hero in the clocks app where you can rearrange
the order of clocks?
Wouter
...
Hello
I want to imitate the iPhone scroll behavior in a Flash app I am developing. The idea is to enable drag-drop with a certain amount of inertia/deceleration (you know, when you drop something while your cursor is still moving and the thing would continue moving for a moment and then stop).
I am using the TweenMax library for my ani...
Hi,
I want to implement drag&drop possibilities in my application. Here is my source code:
I added images to the container, and now want to be able to move them from element PieceContainer to element board (defined in the another class). I tried to define mouse move handler as it was shown here: http://livedocs.adobe.com/flex/3/html/he...
Hi.
I am using Lesters DragAndDropManager
to get the drag and drop function in my application and i really like the way it's implemented, but I have one small problem and that is that I want to show the mouse cordination during the drag in my statusbar, so how do I send the mouseposition from the DropManager to my xaml code.
I have tr...
I'm trying to drag a listitem from a listbox onto a picture box.
The list item is a persons name. The value member of the list item is the ID of the people listed.
When I drop the list item onto the picture box I want to use the persons ID to query a photo and load that photo.
I can't seem to access the value though, only the name te...