drag-and-drop

Linking like in XCode's Interface Builder

Hello! I want to create a functionality in a program to link two views (inside another view) using links like when CTRL+Dragging in Interface Builder. In the implementation I have currently, there are 2 (or more) subclassed NSControllers (called Nodes) and inside those nodes there are 1 (or more) subclassed NSControllers (called Outlets...

Change drag options in the middle of a drag

I would like to be able to add an option to my currently dragged element mid-drag. My initial options are: curDomObj.draggable({ axis: "x", drag: curDomObj.trigger("drag") }); And then I'd like to be able to add another option that will automatically update that dragged object without "dropping" it. Specifically, I'd like to a...

dragging images placed in a UItableViewCell to another uitableviewcell in iphone

Hi, I am new to iphone app development. I have placed images in UITableView as an image gallery,in rows and columns. Now, I want to drag images with in the tableview,by which position of images can be changed. I have searched for it, but I didnt find any proper solution. It will be like UIView --TableView ---TableViewCell ----custo...

Drag & drop: detecting what you're dropping on

Assembled elders of the Cocoa-Touch, I have a question for you all about Drag & Drop on the iPad. I am attempting to drag an item from a popover onto an underlying canvas. Employing the UIPanGestureRecognizer class I can detect a drag-start and create a UIView to drag with the finger tip. My application runs in landscape mode. The tro...

Javscript prevent drag and drop outside browser window

I've got a dialog screen which is placed on top of my web page. This dialog can be dragged around the page, but also outside the visible part of the page. How can I detect the 'limits' of the browser window and prevent dragging the dialog outside the page? The following part of an case statement is exectuted when I drop the dialog windo...

Image resizer with 8 handles and drag & drop

I'm currently building a simple app that overlaps one image on top of another. The top one needs to be draggable and resizable. Initially I thought jQuery UI would be a good idea, there are two main issues with it: For some reason, Chrome doesn't like both behaviors even when they're imposed to different elements. I need 8 handles, jus...

is it possible to drag and drop photos from desktop to Flex Web app to upload them?

I use Flex 4 wish I can let users drag/drop photos from their computer to the web app to upload them automatically. ...

Detecting parent elements in drag and drop

Hi Everyone, I am writing a board game script and would like to use jQuery UI's drag and drop functionality. When i drag an element from inside DIV A to inside DIV B, is there a way of reading DIV B as the new container of the element. $( ".draggable" ).draggable({ stop: function() { alert(this.parentNode.id); // alerts D...

How best to implement Drag & Drop in MSIE? And what's the oldest MSIE which supports it?

I'm looking to implement drag & drop in MSIE (must be, a bonus for other browsers, but just "nice to have"). I'm looking at a sort of drawing package - let's say flowcharts for example. The user can drag flowchart elements from a palette and position them in the browser. When complete, I will need to know the type and position of each e...

Prevent Treeview cursor change

Hi all, I have a gtk.Treeview setup as a drag source: self.drag_source_set(gtk.gdk.BUTTON1_MASK, targets, gtk.gdk.ACTION_COPY) and it's TreeSelection is set to SELECT_MULTIPLE. But everytime I try to drag a multi row selection, the cursor jumps to the current mouse position, resetting the selection to the current row. Even though the...

How can I get the GroupItem in the grouped listview drop event handler

I have a grouped ListView and want to add drag & drop wised regroup support to the ListViewItem. But I have no idea about how to get the destination GroupItem in the drop handler and then regroupping the dragged item to it. ...

Getting my Java program to display images through drag and drop

I am trying to get my program to display an image after it is dragged over, but I dont really have a good idea of how to do this. Example: There is an image on your desktop, photo.jpg . You would take that, drag it over into a java JFrame, and the contents of that image (the photo iteself) would display. From there I would like to be...