Implement Drag and drop functionality in my application
I want to drag image from one UIImageView to other UIImageView.
Is there any event handle to this drag and drop functionality.
Any one have different idea to handle this. than please reply.
Any coding idea related to this?
it is possible but u have to write some advance code to handle plz mention ur Forms version and other info
Forms 10g and above possible with Java beans
Forms 6i there is a demo in forms online help ........ Search DRAG
To enable drag and drop on an item:
1 Attach the PL/SQL library DRAG.PLL, which contains the Mouse package, to your module.
2 Create a WHEN-MOUSE-DOWN trigger on each item that can be dragged. From this trigger, call the Click routine from the Mouse package.
3 Create a WHEN-MOUSE-MOVE trigger on each item that can be dragged. From this trigger, call the Move routine from the Mouse package.
4 Create a WHEN-MOUSE-UP trigger on each item that can be dragged. In this trigger, write your application specific code.Baig
[My Oracle Blog|http://baigsorcl.blogspot.com/]
Similar Messages
-
How to implement drag-and-drop functionality in xMII iGrid?
Hi,
Is it possible to implement the drag and drop functionality between two iGrids of xMII in an irpt page? If yes can anyone please explain how?
Thanks in advance,
Dipankarhttp://tool-man.org/examples/sorting.html
You would have to be creative and do something like this. -
Implementing Drag and Drop Functionality
I'm implementing drag and drop a record from a table to another table.
I already referred below:
http://download.oracle.com/docs/cd/E15523_01/web.1111/b31973/af_dnd.htm#CIHDADFG
But I have a question.
In example 32-5, there is a source like following:
+// And now get the actual data from the dragged model.+
+// Note this won't work in a region.+
DnDDemoData dnDDemoData = (DnDDemoData)dragModel.getRowData();
In this case, 'DnDDemoData' type looks like each project's own suitable row type.
But I don't know what type is suitable in my project.
I use a two VOs for two tables.
So I think it's ViewRowImpl class type, but it's not.
How can I find suitable row type?Hi Timo,
Could not understand what exactly need to have for this...
// And now get the actual data from the dragged model.
// Note this won't work in a region.
DnDDemoData dnDDemoData = (DnDDemoData)dragModel.getRowData();
Could you please elaborate on this!!!
Thanks,
Vin -
How to implement drag and drop functionality in a HTML5 webpage using touch events?
Hi all,
I need to create a webpage having two parts.One part is having set of SVG images into it and other part is having canvas.I need to drag those image onto the canvas allowing same image for multiple times and those images on the canvas are movable inside the canvas only. This webpage is only used in iphone or ipad like touching devices so I need to handle touch events.
There is already jQuery plugin for drag drop functionality but it is not supported for touch events.
It is only for desktop veriosns.So if you know about any jquery plugin let me know.
So please help me to carry out this task.I have tried using the same but still not working.
I have handled touch events like touchstart,touchend,touchmove.
But the problem is when I drag the image from upperbox onto canvas, the clone of that image is creating but the image which I dragged on canvas gets vanished.
I am creating clone because I want to add multiple images onto canvas.
Atik -
Does SAP ECL viewer has drag and drop functionality...
Hi,
Does ECL viewer has drag and drop functionality for example we can drag and drop file from windows sever to SAP. So that it can be used later on using BDN.
Thanks.
Regards,
Rajesh.Implement this program, it is a cut/paste solution. Again, you must have the ECL component installed on your SAPgui.
report zrich_0001 .
parameters: p_check type c.
start-of-selection.
at selection-screen output.
data: dockingleft type ref to cl_gui_docking_container,
dockingright type ref to cl_gui_docking_container,
ecl_viewer type ref to cl_gui_ecl_2dviewer,
html_viewer type ref to cl_gui_html_viewer.
data: repid type syrepid.
data: url(2048) value 'c:'.
repid = sy-repid.
check dockingleft is initial.
create object dockingleft
exporting repid = repid
dynnr = sy-dynnr
side = dockingleft->dock_at_left
ratio = 50
extension = 1000.
create object html_viewer
exporting
parent = dockingleft.
call method html_viewer->show_url
exporting
url = url.
check dockingright is initial.
create object dockingright
exporting repid = repid
dynnr = sy-dynnr
side = dockingright->dock_at_right
ratio = 50
extension = 1000.
create object ecl_viewer
exporting
parent = dockingright
exceptions
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
others = 5.
call method ecl_viewer->create_toolbar
exporting
close_button = ' '
tools = 'X'
viewer = 'X'
navigation = 'X'
options = 'X'
viewer_openfile = 'X'
viewer_savefile = 'X'
tool_measurement = 'X'
remove_document = ' '
exceptions
cntl_system_error = 1
cntl_error = 2
cntb_btype_error = 3
dp_error = 4 .
Now drap a PDF file from the left container, and drop in the right side. Slick, right?
The ECL doesn't handle every file type, but PDF works good.
Regards,
Rich Heilman -
Records Management - Drag and drop functionality
Hi,
I'm trying to find out how it is possible to limit 'drag and drop' functionality for nodes. For example, let's say we have model nodes A and B with all element types assigned and visible for all roles. I want to be able to automatically store documents in both A and B nodes but not to be able to drag and drop documents from node A to node B.
Does anyone have idea if/how this is possible?
Many thanks in advance!
TijanaHai,
To restrict the drag and drop functionality, please check the function module SRM_REC_UPDATE_NODE_DESC. I havenu2019t implemented this but I guess this would help you.
Regards
Keerthika -
Drag and drop functionality not working. IE shows ActiveX error
Hi all,
we recently installed new server, but on the new server the drag and drop functionality in web dynpro application is not working.
when we launch the standard test application wdr_test_drag_and_drop, the Internet explorer is showing a popup: An ActiveX control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction? Yes/No
if we allow by clicking Yes or No, the drag/drop functionality is not working.
first I checked if the issue is with my IE version, but it is not working in any of the IE in any computer.
when I checked the same application from different ecc server on my IE, the different server application is working.
in my new server, do we need to do anything more to make the drag/drop working.
thanks,
Madhu_1980.Hi Madhu,
GO through this link, it might help
Step 1: Go to the Tools menu, and select Internet Options
There are times when the activex plugins are disabled in our browser settings, just enable them and give it a try.
Regards,
AkkI -
Drag and Drop functionality for SVG charts.
Has anyone been able to get a drag and drop functionality with charts?
I've read where Vikas was able to accomplish this with reports, but, unfortunately, it was an old post and his example is no longer available.
I understand that this is more on the browser/presentation layer rather than the back-end, but, judging from the replies from the mainstays in this forum along similar lines, I'm hoping someone may have accomplished this already.
I'm trying to get this to work for a "dashboard" type application I'm trying to prove out using HTMLDB.
Your responses are appreciated.
ThanksHello,
I've done drag and drop using the Adobe SVG Viewer before in a whiteboard application built on top of ... you guessed it... Apex. Unfortunately I do not have an example I can share with you but I know it can be done because I did it, trust me ;) . I am planning on building out that application as an application anybody can download and use but unfortually it will be bit.
Your best bet at the moment is looking on google http://www.google.com/search?q=svg+drag+and+drop there are quite a few examples.
Oh also look at this file in the images directory /images/javascript/svg_js_includes/svg_common/oracle.svgNodes.js it has quite a few helper functions and that file is included in every chart by default so there are functions you can use, (no drag and drop unfortunalty)
If you have can lock down the users in your environment to use only Firefox or Safari you can look at canvas as well it's pretty handy and can do alot of the same stuff
http://developer.mozilla.org/en/docs/Drawing_Graphics_with_Canvas
and of course some simple examples in Apex
http://apex.oracle.com/pls/otn/f?p=11933:78 (it runs on keypress in the textarea I use it to mess with Canvas constructs)
Carl
Message was edited by:
Carl Backstrom -
Drag and Drop Functionality in ADF
Hi, i have a cuestion,
I need to develop an application, but i have to determine if it is possible.
I explain..
I have to make an applicacion with elements with drag and drop functionality, i mean.. 3 to n containers on the page, a toolbar, with the possible elements to drag and drop on the containers,
later on i have to join that elements with lines, and to save the view, so, when the users open their workspace, they can see their last view saved state.
In a few words, that's my issue.
I ve been search about it, and i found something about drop target option about panel box componnents, but nothing about drawing lines and saved view states.
Do you know about some examples, o an example application, any help resource will be wellcome
Thanks in Advance!!!!
ABThere isn't a "painting" function built-in.
You can do drag and drop in ADF Faces between components though.
If you want to show relationship between components with lines - you might want to look into the Hierarchy Viewer.
http://jdevadf.oracle.com/adf-richclient-demo/components/ariaXml.jspx -
Drag and Drop between two java applications
Hi,
I am trying to implement drag and drop between two instances of our java application. When i drop the content on the target, the data flavors are transmitted properly, but i get the exception :
java.awt.dnd.InvalidDnDOperationException: No drop current
at sun.awt.dnd.SunDropTargetContextPeer.getTransferData(SunDropTargetContextPeer.java:201)
at sun.awt.datatransfer.TransferableProxy.getTransferData(TransferableProxy.java:45)
at java.awt.dnd.DropTargetContext$TransferableProxy.getTransferData(DropTargetContext.java:359)
at com.ditechcom.consulbeans.TDNDTree.drop(TDNDTree.java:163)
at java.awt.dnd.DropTarget.drop(DropTarget.java:404)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:547)
How can i fix this ?
Thanks a lot,
KarthikPlay with this;-import java.awt.*;
import java.awt.datatransfer.*;
import java.awt.dnd.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.*;
// Credit to bbritna who I stole it from in the 'New To ..' Forum
public class DragComps implements DragGestureListener, DragSourceListener,
DropTargetListener, Transferable{
static final DataFlavor[] supportedFlavors = { null };
static{
try {
supportedFlavors[0] = new DataFlavor(DataFlavor.javaJVMLocalObjectMimeType);
catch (Exception ex) { ex.printStackTrace(); }
Object object;
// Transferable methods.
public Object getTransferData(DataFlavor flavor) {
if (flavor.isMimeTypeEqual(DataFlavor.javaJVMLocalObjectMimeType))
return object;
else return null;
public DataFlavor[] getTransferDataFlavors() {
return supportedFlavors;
public boolean isDataFlavorSupported(DataFlavor flavor) {
return flavor.isMimeTypeEqual(DataFlavor.javaJVMLocalObjectMimeType);
// DragGestureListener method.
public void dragGestureRecognized(DragGestureEvent ev) {
ev.startDrag(null, this, this);
// DragSourceListener methods.
public void dragDropEnd(DragSourceDropEvent ev) { }
public void dragEnter(DragSourceDragEvent ev) { }
public void dragExit(DragSourceEvent ev) { }
public void dragOver(DragSourceDragEvent ev) {
object = ev.getSource(); }
public void dropActionChanged(DragSourceDragEvent ev) { }
// DropTargetListener methods.
public void dragEnter(DropTargetDragEvent ev) { }
public void dragExit(DropTargetEvent ev) { }
public void dragOver(DropTargetDragEvent ev) {
dropTargetDrag(ev); }
public void dropActionChanged(DropTargetDragEvent ev) {
dropTargetDrag(ev); }
void dropTargetDrag(DropTargetDragEvent ev) {
ev.acceptDrag(ev.getDropAction()); }
public void drop(DropTargetDropEvent ev) {
ev.acceptDrop(ev.getDropAction());
try {
Object target = ev.getSource();
Object source = ev.getTransferable().getTransferData(supportedFlavors[0]);
Component component = ((DragSourceContext) source).getComponent();
Container oldContainer = component.getParent();
Container container = (Container) ((DropTarget) target).getComponent();
container.add(component);
oldContainer.validate();
oldContainer.repaint();
container.validate();
container.repaint();
catch (Exception ex) { ex.printStackTrace(); }
ev.dropComplete(true);
public static void main(String[] arg) {
JButton button = new JButton("Drag this button");
JLabel label = new JLabel("Drag this label");
JCheckBox checkbox = new JCheckBox("Drag this check box");
JFrame source = new JFrame("Source Frame");
Container source_content = source.getContentPane();
source.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
source_content.setLayout(new FlowLayout());
source_content.add(button);
source_content.add(label);
JFrame target = new JFrame("Target Frame");
Container target_content = target.getContentPane();
target.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
target_content.setLayout(new FlowLayout());
target_content.add(checkbox);
DragComps dndListener = new DragComps();
DragSource dragSource = new DragSource();
DropTarget dropTarget1 = new DropTarget(source_content,
DnDConstants.ACTION_MOVE, dndListener);
DropTarget dropTarget2 = new DropTarget(target_content,
DnDConstants.ACTION_MOVE, dndListener);
DragGestureRecognizer dragRecognizer1 =
dragSource.createDefaultDragGestureRecognizer(button,
DnDConstants.ACTION_MOVE, dndListener);
DragGestureRecognizer dragRecognizer2 =
dragSource.createDefaultDragGestureRecognizer(label,
DnDConstants.ACTION_MOVE, dndListener);
DragGestureRecognizer dragRecognizer3 =
dragSource.createDefaultDragGestureRecognizer(checkbox,
DnDConstants.ACTION_MOVE, dndListener);
source.setBounds(0, 200, 200, 200);
target.setBounds(220, 200, 200, 200);
source.show();
target.show();
}[/code -
Air mobile best way to implement drag and drop
Hi all,
I'm developing an application which allows people to drag and drop certain panels.
But the dragmanager isn't optimized for the air mobile platform.
What is the best way to implement drag and drop at the moment?
Write it all yourself or are their some utility classes that can help?Hi all,
I'm developing an application which allows people to drag and drop certain panels.
But the dragmanager isn't optimized for the air mobile platform.
What is the best way to implement drag and drop at the moment?
Write it all yourself or are their some utility classes that can help? -
The drag and drop functionality is grayed out in Captivate 8. How do I turn this on?
I'm trying to play with drag and drop functionality in Captivate 8, but it's grayed out. All the tutorials I've watched show it working, but in my project, I can't access it. Any ideas?
I asked about this in another thread, to add a list of what is NOT supported in responsive projects to the documentation:
objects detected by the HTML5 tracker
Drag&Drop as you discovered
line shape
free polygon shape
This is my list. Answer in another thread from the staff was: what is dimmed, grayed out is not available. Not a pleasant way to discover limitations, although I understand not everything could be implemented in this very first version of Captivate responsive design functionality.
Lilybiri -
Adding drag and drop functionality to a hbox with a repeater?
hello,
I've been searching on how to add drag and drop functionality
to an hbox. You're probably thinking "just use a tilelist", and
that's what i'm currently using, but the tilelist cannot align
items to the center, which is crucial in my application (if you
need me to explain further i will, but i don't think it's relevant
here).
So i need drag and drop on an Hbox. The repeater is necessary
because the hbox may need to be populated with items initially,
which can later be dragged and dropped either in itself (to
re-arrange items) or into another hbox of this kind. For the past
few hours I've been trying to find anything that can even hint at
this type of functionality (i've been searching and experimenting
for hours). If anyone can point me in the right direction, i'd
appreciate it. Thank you very much. -b"bmilesp" <[email protected]> wrote in
message
news:gnd5c7$jas$[email protected]..
> hello,
>
> I've been searching on how to add drag and drop
functionality to an hbox.
> You're probably thinking "just use a tilelist", and
that's what i'm
> currently
> using, but the tilelist cannot align items to the
center, which is crucial
> in
> my application (if you need me to explain further i
will, but i don't
> think
> it's relevant here).
Sure it can.
> So i need drag and drop on an Hbox. The repeater is
necessary because the
> hbox
> may need to be populated with items initially, which can
later be dragged
> and
> dropped either in itself (to re-arrange items) or into
another hbox of
> this
> kind. For the past few hours I've been trying to find
anything that can
> even
> hint at this type of functionality (i've been searching
and experimenting
> for
> hours). If anyone can point me in the right direction,
i'd appreciate it.
> Thank
> you very much. -b
http://www.quilix.com/node/3 -
With the new Photos app, I can no longer drag and drop photos into other applications as I did with iPhoto. For instance, I have a photo collage app that in the past, I could just drag in the photos I wanted to include. Now, I can DRAG the photos, but they do not DROP. So, I have to go through the export process. It is tedious. What am I missing? Where can I turn on the drag and drop feature for Photos?
YOu're not looking in the right palce. That's inside the iPhoto Application.
You need to look inside the iPhoto Library
As I sid above:
Go to your Pictures Folder and find the iPhoto Library there
Regards
TD -
HT4061 Drag and drop function in Windows 8 doesn't work with iTunes.
How to import music files from Windows 8 to iTunes 11.0.3 x64? Drag and drop function doesn't work. Thank you!
> Straight drag and drop to PS produced a warning message so, when I then tried to drag on to the PS task bar button, I got the Ø cursor but on moving into the PS window and releasing the mouse button there, the file opened.
That's the strangest behavior that I would imagine. Are you using the default vista aero theme or you have turned down or using custom theme and visual effects?
> it needs to be pointed out that this is a really bad habit that will smack you in the face one day...
I don't understand what you mean. If you are concerned about viruses, in my understanding copying and opening a file from the internet which is what "Save image as" does, is less safe than coping and pasting pixels. Copying and pasting pixels is the same as coping and pasting text from your web browser, it can't execute hidden code. If that was possible everybody will get viruses at the moment text or pixels are displayed on your browser.
By the way when you view a page from the internet, image files are already downloaded in the temp folder of your computer but only the browser uses them unless you open them from there and use in another program. So if you have a virus protection the images are already scanned.
Maybe you are looking for
-
[SOLVED] Cups problems - Can't print (Epson DX7450)
Edit: It's all good since libcups 1.3.10 except Firefox can't print for some reason, but I'm willing to let that one go Note: Already posted this in Newbie Corner before I realised it belonged here. There it is marked [SOLVED-MOVED] with a note. Sorr
-
Hello, everyone. Here is a question - What is the APEX for? Can it be usable for production? For a pro? I create an application, but I know nothing about HTML, javascript and other site-made-stuff. But my application is working pretty well. And it sc
-
BLACKBERRY 8520 HANDHELD VERSION 5 WONT DOWNLOAD!
i currently own a prepaid monthly plan blackberry and one day the buttons just stopped working. i realized the problem was that i have to download the latest software, but because i dont have a data plan it wont let me. WHAT DO I DO!? and this econom
-
After Effects CC 2014 - Überordnung nicht möglich
Hallo zusammen, Ich habe eine Frage. Ich arbeite seit kurzem mit After Effects und bin nun öfters auf dieses Problem gestoßen. Nachdem ich mit Mocha mehrere Punkte getrackt habe, habe ich diese problemlos in AE kopiert. Ich wollte nun den Effekt "Str
-
Problem importing a scanned image
I am a new user to Elements 11 (previously having used Paint Shop Pro). In many of the previous Elements and their tutorials says there is a Get Photos/Image not on Elements?? So I go File -> Import -> WIA Support. This leads me to my HP printer/s