Drag and drop over AxAcroPDFLib.AxAcroPDF in C# Winform

Hi,
I've embedded the AxAcroPDFLib.AxAcroPDF PDF Browser control from SDK 2 in a .Net C# Winform, and can load and display a PDF within it.
I want to be able to drag and drop System.Windows.Forms.TextBox (s) over the control and when dropped based on mouse co-ordinates
store the x,y coordinates of the text boxes in a database.
But when I drag and drop text boxes, the cursor changes to No/Disabled and I am unable to drag onto the AxAcroPDF control.
I
I've set AllowDrop to True, but to no obvious effect
Is this possible ?.
I've simulated the same affect with displaying other types of images such as gif displayed within a Systems.Windows.Form.PictureBox, but this control has Dragdrop events available, but no equivalent withAxAcroPDF?
Thanks
Bill

I have also tried using a System.Windows.Panel control as an "overlayed/same size/location" child of AxAcroPDF , which supports drag and drop events.
The drag and drop works, but the PDF does not show through, even with the Panel.BackColor/Forecolor set to Transparent.
Regards
Bill

Similar Messages

  • Problem using text boxes as the "image" to drag and drop over audio file

    I have been adding audio files to my page in iWeb (previous version, not '08), but I am having a problem giving them titles.
    When you first drag a file from iTunes into iWeb, it provides a space for you to drag and drop a picture. The online iWeb guide also says that you can drag a text box there instead of a picture.
    I created a text box with the text I would like to drop over the controller. However, it is no longer allowing me to drop the text box there. I used to be able to do this, and I don't know what I'm doing differently now. Any suggestions?
    Thanks!
    -- Will

    foobar2000 with the ipod plugin will allow you to drag/drop FLAC files and when it syncs the ipod, it converts the FLAC files on the fly. MUCH better than dealing with the crappy iTunes interface and having to pre-convert the files. I absolutely loathe iTunes and it just gets worse and worse!

  • I've got my contacts in groups in my address book, i've just dragged and drop over to a numbers doc and they have disappeared..help!

    I've got my contacts in groups in my address.
    I've just dragged and dropped a group into a numbers doc and the process has gone wrong!
    I've got the email addresses on the numbers doc but the group in basically empty...help
    I've done something silly...but what?

    I beleive they were synced with iCloud before I ran out of storage I then backup to my PC periodically.
    My contacts switch is off, I have now slid this across and no contacts have come back. Is there any other steps necessary for me to take? Switch my phone off or reset again?
    Thanks for your assistance!

  • Why am I having trouble importing vCards? I follow the Help Center instructions by dragging and dropping, but some don't sync into the cloud. And why can't I drag multiple vCards? I have over 4,000. Please tell me I don't have to do one at a time?

    Why am I having trouble importing vCards? I follow the Help Center instructions by dragging and dropping, but some don't sync into the cloud. And why can't I drag multiple vCards? I have over 4,000. Please tell me I don't have to do one at a time?

    carolinechx wrote:
    i know the description may be a little bit too confusing
    Mostly because you are not using any capital letters or paragraph returns and your post is difficult to read.

  • Master Slide issue - drag and drop alt slide over theme slide

    Keynote on my MacPro: Where before on the previous version I could in Master Slides drag and drop an alternative look over a theme slide to change that slide only and no affecting the entire presentation which was most useful, now that seems no longer an option unless there's something I can't find to do that. When viewing Master Slides now you cannot see the presentation you're working on. Previously I would set up several slides with different looks and where needed drop that look over a slide and it would override the theme slide without all slides being affected. Qny thought guys? Barry

    Although I have been answering quite a lot of questions about Drag&Drop functionality (not a widget), you are the first to mention such problems.  Personally I never had problems, only when not respecting the design of the interaction or doing something stupid. If you are the only user to have such experience (at least for what I hear in these forums and on social media), I don't see why an upgrade should be expected? Did you log the problem? Are you sure that the project is not corrupted?
    The jigsaw learning interaction is pretty simple, also limited, don't know what are your problems there?
    Are you sure that all objects used in the D&D (drag sources and drop targets) are visible in output. It is a bit confusing in CP8 because the eye icon is used both for visible in output for objects in Properties panel, and for showing the links in D&D in the D&D panel. Can you see the links? Did you avoid overlapping of objects? Did you not rename an object after creating the D&D interaction, because that will break the link from/to that object? I mentioned this in my last article: Drag&Drop tips - Captivate blog
    I am just trying to find out what is going wrong, bit curious about this rare case.

  • When moving a file using drag and drop, as I hover over the destination folder it no longer opens, so I can't drop the file into the folder.  Why?

    When moving a file using drag and drop, as I hover over the destination folder it no longer opens, so I can't drop the file into the folder.  Why?  I have a heirarchical embedded folder structure under \Documents.  Usually, as I drag the file to be moved over the various folders, they will blink twice, then expand/open to reveal contents (in Finder).  Now, when the file to be moved is held (hovering) over the destination folder, it will not blink or expand, so there's no place to drop the file.  If I release the mouse button, the file image disappears, showing that it is "going back to the place it came from", a.k.a. was not moved.  This just started happening.  I noticed it after upgrading to Mavericks.  Is this a bug or could anything else be causing this?

    As of today, Apple Support discovered during a remote support session with me that the same thing happens on their own system.  It is isolated to "Column View"; the Icon and List views in Finder behave correctly.  Issue is being escalated to engineering, and Apple will call to report status in a couple days.  In all likelihood, this is a bug that will need to be addressed in a future update.

  • Drag and drop an image over a JPanel (only change position on same JPanel)

    Hi all,
    there is JPanel added to a JDialog.
    There is a BufferedImage on the JPanel: I need to let the image be dragged and dropped in another position over the same JPanel and read the new position's coordinates.
    (Maybe the image has to be wrapped in a JComponent?)
    Thanks in advance for any suggestions.
    Ludovico

    (Maybe the image has to be wrapped in a JComponent?)Just add the image to a JLabel and add the label to the panel.

  • Canu00B4t Drag and drop a service over the model Workspace

    Hi guys,
    I´m trying to consume an Eservice published in the ServiceRegistry. I can see all the services in the result list when i search them, but when i try to drag and drop any of those service over the model workplace nothing happens.
    I hope someone can help me to solve this problem.
    Thanks in advance,
    Regards,
    Diego.

    Hi
    Another thing I'd suggest to do (to better understand what goes wrong) is to make sure the VC console is open.
    Please goto View menu and check the 'Console' entry (it should be visible in the bottom of the application)
    Once you reproduce your problem the console should show information on errors - please put them here and I'll try to analyze the problem
    Guy

  • Drag and drop photos over video in imovie 08 - need help

    my video format is widescreen but when I drag and drop 800x600 pixel photos (actually jpeg slides) over video, imovie adjust the photos by zooming in cropping out the top of bottom of the photos. I have not been able to find any way to change this within imovie. I'd rather not redo all the slides in a widescreen format. Does anyone know a work around or a setting that I'm just overlooking?

    you're most welcome, Jon, and it's this board, which 'animates' me to do it that way and this way, and find out the differences..
    but, indeed: the 'settings' of a photo should be 'accessible' in both ways..
    ' cause, in MY workflow in iMHD6 or FCE, I FIRST import the video, and more important: the audio-track, which I 'spice up' with additional footage, as stills...
    .. but I've never done that in iM08, which is for my projects still in 'experimental use'...- (I LOVE those picture settings, de-saturating clips etc....), I get used to the many audio-layers in FCE ...
    ... and: lately, tought some iMovie-beginners (a photographer and a print-designer), with zil background knowledge of any iMovie version, the first steps with iM08... they want to use it to 'glue' some impressions together, they shoot while doing their photo-jobs.. and they were very impressed and excited!... +sooooo easy+ ... yepp, the User Experience IS breathtaking, awesome, groundbraking

  • OK Have iTunes on my PC all files converted to MP4 for the vids. It is recognised as it goes on but the new drag and drop does not like my iPad or wont copy files over. Any ideas before I smash it against the wall and buy an android so I can play stuff on

    Why wont my iPad accept MP4 Files in my iTunes library unless I sync it. I soooooooooooooo miss drag and drop to the side.

    Have your tried using the View menu item Show Sidebar?
    This will restore the function of iTunes 11 to what you find familiar.

  • Having Problem Adding to drag and drop to move furniture over a floor plan

    I have the code which follows. I need to create floor plans where web visitors can drag and drop furniture onto the floor plan.  I have  three items that work but when I convert any additional items to a symbol and select movie clip and then add more lines to the code, none will work.. How can the code determine that  my movie clip I named "couch" is going to movie clip 4.  Thank you if you can help, Frankie Foster
    Below is my code:
    var numObjects:uint = 3  // assign the total number of movieclips that will be dragged
    for(var i:uint=1; i<=numObjects; i++){
         this["movieClip_"+String(i)].addEventListener(MouseEvent.MOUSE_DOWN, clickToDrag);
         this["movieClip_"+String(i)].addEventListener(MouseEvent.MOUSE_UP, releaseToDrop);
    var selectedMC:MovieClip;
    movieClip_1.addEventListener(MouseEvent.MOUSE_DOWN, clickToDrag);
    movieClip_2.addEventListener(MouseEvent.MOUSE_DOWN, clickToDrag);
    movieClip_3.addEventListener(MouseEvent.MOUSE_DOWN, clickToDrag);
    movieClip_1.addEventListener(MouseEvent.MOUSE_UP, releaseToDrop);
    movieClip_2.addEventListener(MouseEvent.MOUSE_UP, releaseToDrop);
    movieClip_3.addEventListener(MouseEvent.MOUSE_UP, releaseToDrop);
    function clickToDrag(event:MouseEvent):void
         selectedMC = MovieClip(event.currentTarget);
         selectedMC.startDrag(); 
    function releaseToDrop(event:MouseEvent):void
         event.currentTarget.stopDrag();
    stage.addEventListener(KeyboardEvent.KEY_DOWN, nextQuestion);
    function nextQuestion(event:KeyboardEvent):void {
          //trace(event.keyCode);
          if(event.keyCode == Keyboard.RIGHT)
               selectedMC.rotation += 5;
          if(event.keyCode == Keyboard.LEFT)
               selectedMC.rotation -= 5;

    Your appear to have redundant coding assigning your listeners.  What code are you trying to add/modify to make the couch function like the others?
    this...
    for(var i:uint=1; i<=numObjects; i++){
         this["movieClip_"+String(i)].addEventListener(MouseEvent.MOUSE_DOWN, clickToDrag);
         this["movieClip_"+String(i)].addEventListener(MouseEvent.MOUSE_UP, releaseToDrop);
    currently does what this also does....
    movieClip_1.addEventListener(MouseEvent.MOUSE_DOWN, clickToDrag);
    movieClip_2.addEventListener(MouseEvent.MOUSE_DOWN, clickToDrag);
    movieClip_3.addEventListener(MouseEvent.MOUSE_DOWN, clickToDrag);
    movieClip_1.addEventListener(MouseEvent.MOUSE_UP, releaseToDrop);
    movieClip_2.addEventListener(MouseEvent.MOUSE_UP, releaseToDrop);
    movieClip_3.addEventListener(MouseEvent.MOUSE_UP, releaseToDrop);

  • Drag and drop images from the OS or select images over filebrowser

    Hello,
    I want to create an image upload tool in JavaFX with similar functionality like Jumploader (http://jumploader.com/). The users should be able to select images from the filesystem that will be resized and uploaded to their website, similar as in Facebook. The difference is that I want users to be able to crop images directly in my application. This is something, other upload tools do not offer.
    I was searching weeks on the web trying to find a sample on how to drag and drop images in to a JavaFX 1.3.1 app or also to create a file browser. I have found many examples but they seem to be outdated. Is it to early yet to try and start projects like these with JavaFX as JavaFX is still under development? Or can anybody lead me in to the right direction?
    Thanks,
    Chris

    To be more precise, you can setup a JComponent or JPanel on top of your JavaFX nodes that has a TransferHandler that can convert the (AWT/Swing) images dragged to the app to JavaFX image and then insert it into the underlying node.
    As for the file chooser itselft: ListView and the JavaFX composer can allow you to create one quite easily. TreeView can aslso be used to a lesser extend (still a big buggy). For both of these, there are small bugs in the Cell API that may (or may not) prevent from displaying a proper thumbnail in the cells.
    You can also use a regular JFileChooser if you do not mind the dialog box having a different LnF from the rest of your application.

  • I want to Sync my iPhone 4 to iTunes however I get an error message from iTunes each time I connect the phone to the PC saying that I should restore to factory settings. Frustrating because it's already annoying enough that I can't drag and drop mp3's!!!

    I have never been so frustrated before in my life with any phone. I find it obnoxious as it is that I cannot simply drag and drop files (especially MP3's) straight from my PC directly into my phone, which I have been used to doing up until now. Everyone who convinced me to get the iPhone has instructed me that my frustration can be fixed by downloading iTunes and syncing it all up via that program (which I have never used before). So, I downloaded the program successfully, however when I connect the iPhone 4 to the PC and iTunes is open, I get an error message that 'iTunes cannot read the content of the iPhone "iPhone" and that I should go to the Preferences tab of the iPhone and select 'restore' to restore this phone to factory settings. First of all, I don't understand why I need to do that. I have already downloaded apps and other important things in the 2 days that I have the phone. I am also scared that it will erase my contacts. This is such a headache. Music is very imporatant to me, but I am getting so frustrated that I don't have freedom over the phone which I thought was supposed to be one of the best out there. I would really appreciate help in this matter. I am sure the phone is great but I am on the verge of taking it back and getting something else.

    Hey joshuafromisr,
    If you resintall iTunes, it should fix the issue. The following document will go over how to remove iTunes fully and then reinstall. Depending on what version of Windows you're running you'll either follow the directions here:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    http://support.apple.com/kb/HT1925
    or here:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    Best,
    David

  • Why does not drag and drop work?!

    Hello,
    I am trying to implent a drag and drop from a table to an icon representing a trash.
    The drop handler fails in converting the selected rows to a list:
    com.sun.el.MethodExpressionImpl@87d9c00d javax.el.ELException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List
    Could you help me to understand why? Below are the details.
    This is the af:table:
    <af:table var="row" rowBandingInterval="0" id="t1"
    value="#{bindings.MyView1.collectionModel}"
    rowSelection="multiple"
    columnStretching="last"
    horizontalGridVisible="false"
    verticalGridVisible="false" fetchSize="-1"
    autoHeightRows="6" width="190"
    disableColumnReordering="true">
    <af:column sortable="true" headerText="Entry" id="c1"
    align="start">
    <af:outputText value="#{row.Description}" id="ot1"/>
    </af:column>
    <af:dragSource actions="MOVE" defaultAction="MOVE"
    discriminant="delete"/>
    </af:table>
    This is the drop area:
    <af:image source="Images/empty_trash_32.png" id="i2">
    <af:dropTarget dropListener="#{backingBeanScope.DropHandlerBean.dropHandler}"
    actions="MOVE">
    <af:dataFlavor flavorClass="org.apache.myfaces.trinidad.model.RowKeySet"
    discriminant="delete"/>
    </af:dropTarget>
    </af:image>
    This is the failing listener listener (the failing point is bold):
    public DnDAction dropHandler(DropEvent dropEvent) {
    DnDAction dnda = DnDAction.NONE;
    if (dropEvent.getProposedAction() == DnDAction.MOVE) { // delete
    RichTable table = (RichTable)dropEvent.getDragComponent();
    //determine the rows that are dragged over
    Transferable t = dropEvent.getTransferable();
    //when looking for data, use the same discriminator as defined
    //on the drag source
    DataFlavor<RowKeySet> df =
    DataFlavor.getDataFlavor(RowKeySet.class, "delete");
    RowKeySet rks = t.getData(df);
    if (rks == null) {
    return DnDAction.NONE;
    Iterator iter = rks.iterator();
    while (iter.hasNext()) {
    //get next selected row key
    System.out.println(rks.toArray().length); // the number of selected rows is ok
    List key = (List)iter.next(); // here gives: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List
    //make row current so we can access it
    table.setRowKey(key);
    //the table model represents its row by the ADF binding class,
    //which is JUCtrlHierNodeBinding
    JUCtrlHierNodeBinding rowBinding =
    (JUCtrlHierNodeBinding)table.getRowData();
    Row row = (Row)rowBinding.getRow();
    //delete row;
    row.remove();
    //activate animation
    dnda = DnDAction.MOVE;
    return dnda;
    thanks.

    I did try, I obtained this:
    java.lang.NullPointerException
    Why NullPointerException?
    I don't know if this helps, but consider that the collection model comes from a ViewObject built on three EOs with many fields, although the table only shows one column.
    This is the Iterator in my pageDef:
    <table IterBinding="MyView1Iterator" id="MyView1">
    <AttrNames>
    <Item Value="Cod1"/>
    <Item Value="Cod2"/>
    <Item Value="Cod3"/>
    <Item Value="Cod4"/>
    <Item Value="Description"/>
    <Item Value="Cod5"/>
    </AttrNames>
    </table>
    Any idea?
    I will see the Key content with the debugger.

  • An mp3 file on my computer will not import to itunes by either the drag-and-drop or the Add File to Library method.  Can't figure out what I'm doing wrong.  My OS is Windows 7.

    I purchased an mp3 from a private website on my laptop.  The itunes library i sync ipod to is on my desktop, so i copied the mp3 onto a flash drive and then into my desktop in the Downloads folder and Desktop folder as well as the itunes music folder, 3 places.  I opened itunes on the desktop and read the instructions for importing music that's already in my computer.  Neither the drag-and-drop or the Add File to Library method works.  I've tried both ways over and over.  Cannot figure out what the problem is.  I do note that the name of the mp3 file doesn't show the .mp3 extension, it appears as simply it's title, Eating Healthy, without any extension at all.  Could the filename be the problem, or do you have any other idea what I'm doing wrong?  My OS is Windows 7, using IE9.  Thanks.
    ADDENDUM AFTER READING ANOTHER DISCUSSION HERE:  I have now tried right clicking the song in Windows Explorer and choosing Open With, clicking itunes.  The mp3 plays in itunes but does not add to the library.

    I don't have a Recently Added playlist.  However, I discovered that the file I had named Eating Healthy was given the name You Can Enjoy Eating Healthy when it copied to iTunes.  I'm guessing iTunes pulled the full name of the piece from the internet.  Upshot--the mp3 did transfer to iTunes on all 3 tries, but I was looking in my alphabetized list under E, not Y, so I didn't see it there.  Thanks for your help. 

Maybe you are looking for

  • Schedule: How to Schedule a report to 1st Monday of the Month

    Trying to schedule a report to run every 1st Monday of the Month, using 3.1, what would be the best way to do it?

  • Need to do a clean install, important questions

    Hi all, For several months my two-year-old MacBook has been having a serious typing issue that I have not been able to resolve. When I am typing, quite frequently, the typing will move to the middle of the text box (or Word document) and start writin

  • Sending the process instance to a particular participants workspace

    Hi All, I am a bit new to Aqualogic BPM. I have to design a process, the requirements of which are as follows: The process has three roles: - Super Users - Supervisor - Primary Users Super User and Supervisor will have one participant each but the ro

  • Procedure/sample code to download alv output in HTM format & mail to user.

    Hello Experts, I've a requirement to run the Alv report at background. But i need to download the alv output in HTM fomat because it has subtotal values & look wise downloaded HTM format will be same as that of ALV output. Then send the attachment th

  • Sender Axis SOAP Adapter EOIO

    My PI Sender Axis SOAP Adapter is giving me the following error when I try and use an EOIO quality of service: The XI SequenceId must be uppercase and 1-16 characters long.; nested exception is: com.sap.engine.interfaces.messaging.api.exception.Inval