Drag and drop forms, shapes and images VS 2013

I am new ti visual studio and cannot seem to get image, form or shape drag and drop to work in webpage designer.
can anyone please point me in the right direction.
Cheers

Hi AndyF1ynn,
Actually this forum is to discuss the VS usage issue, if this issue is related to web development, you could ask this question in the ASP.NET forum:
http://forums.asp.net. If then, you could get an answer more quickly and professional. Thanks for your cooperation.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Drag and drop the text and image

    Hi,
    I need help in drag and drop text and image.
    I am able to drag and drop the text and image in doc but  i want to drag the text in text frame and image in image frame only.
    For this how to get textframe id or is there any other way to do this. Pls help me if anyone know how to do this one.
    Thanks
    Arun

    This thread is pretty old, but this can help anyone in the future:
    To handle a drop in InDesign, you have to implement your own custom CDragDropTargetFlavorHelper. You can find a working example in SDK Sample. Take a look at BasicDragDrop.sdk project in the SDK.

  • Drag and Drop with snap and response

    Ok, first of all I'm new to all of this as I'm just doing some parttime work. I'm trying to make a drag and drop game where the images (imported and made into movie clips with instance names "peg1 - peg7") are to be dragged onto targets (images, made into movie clips with instance names "targetpeg1-targetpet7").
    Here's my code and it comes up with two errors -
    ReferenceError: Error #1069: Property parent not found on builtin.as$0.MethodClosure and there is no default value.
    at Gametake1_fla::MainTimeline/fl_ReleaseToDrop()
    Please help!!! Thanks a bunch!
    Amy
    peg1.buttonMode = true;
    peg2.buttonMode = true;
    peg3.buttonMode = true;
    peg3.buttonMode = true;
    peg4.buttonMode = true;
    peg5.buttonMode = true;
    peg6.buttonMode = true;
    peg7.buttonMode = true;
    peg1.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    peg2.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    peg3.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    peg4.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    peg5.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    peg6.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    peg7.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    function fl_ClickToDrag(event:MouseEvent):void
    event.currentTarget.startDrag();
    reply_txt.text = "Drag the image to its correct location"
    peg1.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    peg2.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    peg3.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    peg4.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    peg5.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    peg6.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    peg7.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    function fl_ReleaseToDrop(event:MouseEvent):void
    event.currentTarget.stopDrag();
    var myTargetName:String = "target" + event.target.name;
    var myTarget:DisplayObject = getChildByName("myTargetName");
    if (event.target.stopDrag != null && event.target.stopDrag.parent == myTarget){
        reply_txt.text = "Good Job!";
    } else {
        reply_txt.text = "Try Again!";
    function checkTarget(drag){
    if (drag.hitTest(targetpeg1)) {
    trace(drag+" has been dropped on greyCircle");
    } else {
    trace("you missed the target");

    use:
    peg1.buttonMode = true;
    peg2.buttonMode = true;
    peg3.buttonMode = true;
    peg3.buttonMode = true;
    peg4.buttonMode = true;
    peg5.buttonMode = true;
    peg6.buttonMode = true;
    peg7.buttonMode = true;
    peg1.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    peg2.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    peg3.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    peg4.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    peg5.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    peg6.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    peg7.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    function fl_ClickToDrag(event:MouseEvent):void
    event.currentTarget.startDrag();
    reply_txt.text = "Drag the image to its correct location"
    peg1.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    peg2.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    peg3.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    peg4.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    peg5.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    peg6.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    peg7.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    function fl_ReleaseToDrop(event:MouseEvent):void
    event.currentTarget.stopDrag();
    var myTargetName:String = "target" + event.currentTarget.name;
    var myTarget:DisplayObject = getChildByName("myTargetName");
    if (event.currentTarget.dropTarget){
    if(event.currentTarget.dropTarget.parent == myTarget){
        reply_txt.text = "Good Job!";
    } else {
        reply_txt.text = "Try Again!";

  • Drag and Drop between JTree and Labels in 2 different panes

    Hi,
    I am using JDK 1.4.1 and am trying to implement Drag n Drop between a JTree and JLabels with ImageIcons, both on different panes.
    I got the DnD working fine on the tree. but i cant get to drag and drop the label from the other pane, on the Jtree as a node. I am getting confused with the DataFlavors, and also wonder if there is something else that i have to do for DnD between 2 panes. Can someone give me any leads on this, please? The Panes I am talking about are splitpanes.
    thanks,
    Sri.

    hey thanks Dennis!! I was hoping you would respond to my question, as I have seen a lot of your replies. yes, the example you gave would be helpful. but i am trying to implement this in 1.4.1, with the new drag and drop in swing. and i am getting confused wiht theh data flavors etc.
    my problem at hand is :
    I have a tree on the left pane. i can drag and drop the nodes on the tree itself. (i already did that...no problem). I have Jlabels with imageicons (actually wrapper classes with labels and imageicons) on the right pane. i have to be able to drag these labels to the tree such that they form a node.
    I have one class the NodeSelection class which extends TransferHandler and implements Transferable. i was able to do DnD for the tree using this. I customized the importData method in this.I thought that i can just use the same class to create the transferhandler and transferable, and just use a different implementation for the importData method if the data being dragged is from the label.
    well, my thoughts and ideas were ok...but i can implement it...so they must be wrong ;-)
    Can u please suggest another way to do this. I have a deadline to meet and am stuck here :-( any suggestions or tips or hints would be very helpful and appreciated!!
    Thanks,
    Sri.

  • I can't drag and drop or cut and paste all of a sudden! Help

    I can't drap and drop or cut and paste all of a sudden.  I updated my windows suite and ditched the old stuff.  The next day no drag, drop, cut and paste.
    <Email Edited By Host>

    *FireFTP: https://addons.mozilla.org/firefox/addon/fireftp/

  • Can't drag and drop nor copy  and past with iMac with OS 10.8.1.

    Can't drag and drop nor copy and past with iMac with OS 10.8.1.  Not with iTunes, MS Word, nor Pages.  No where.  Reboot or relogging in helps for about an hour.  Hard reset worked for a short time. Per Apple support, most likely will reinstall the operation system.  Just wondered if anybody else has run into this.  Did a disk scan, and that was fine.  And did rebooting, holding down CMD+OPT+R, and P..  Deleted all the start up programs.  Checked the internet, no solutions there.  So it all appears to be OS redo time. 

    Do you subscribe to MLB.tv, and if so, did you install the NextDef plug in? If so, read this…
    https://discussions.apple.com/message/19185556#19185556
    I removed the NextDef plug in over 24 hours ago, restarted and haven't had a single issue with drag and drop or cut and paste since.

  • Can't Drag and Drop, or cut and paste

    Weirdest thing - all of a sudden I can't drag and drop, or cut and paste. I fixed permissions, deleted varied preference files and rebooted, reset the permissions on /tmp, etc. and still no go.
    Any suggested avenues to find what the possible problem is, and how to solve (short of reinstalling)?

    On the left side of the browser at the top of the iPhoto window you will see two symbols. The top one looks like a sheet of paper with the corner folded down, the bottom looks like multiple sheets/cards. If you click on the top symbol, you will view thumbnails of the pages in the book; the bottom gives you photos. At the bottom left of the window, there are two buttons above the word "view". Clicking on one button versus the other changes the window to view either one or two pages. This also affects whether or not the pages are locked together in the browser. When you are in page view, you can drag and drop pages in the browser to create the order you wish.
    I hope this helps.

  • Drag and Drop Apps to and from Dock, doesn't work for one account?

    Hi there,
    I have 2 accounts on my Macbook, one of them is my main account which is admin and nothing is wrong with it. The second account though is also admin but I cannot drag and drop applications to and from the dock. I can open the program, hold left click down till it pops up with options and in which you can untick Keep in Dock. Which would be fine but as soon as the computer restarts or I log out then in again, the application reappears. Any help or ideas would be much appreciated.
    Note that I have deleted both plist files from library/preferences and I have also enabled parental controls and ticked the allow users to modify the dock option. I also tried downloading Onyx and setting it up through there but it was a no go. Anyway, if anyone has any idea then that would be awesome.
    Cheers

    TheArtieChoke wrote:
     The second account though is also admin but I cannot drag and drop applications to and from the dock.
    Ok, you can drag applications from your Applications and Utilities Folders to make a "alias" (aka shortcut) in the Dock, but if you drag the icon off and drop it, it "poof's" away as your deleting the alias. The program itself isn't in the Dock at all at any time.
    TheArtieChoke wrote:
    I can open the program, hold left click down till it pops up with options and in which you can untick Keep in Dock. Which would be fine but as soon as the computer restarts or I log out then in again, the application reappears.
    Right, when you run a program from where ever, it places a alias icon in the Dock, which you then right click and choose to keep the alias in the Dock which survives reboots and logouts/in as normal.
    If you right click and choose "open at log-in" the program will automatically run when you restart or log back into the account.
    TheArtieChoke wrote:
    Note that I have deleted both plist files from library/preferences and I have also enabled parental controls and ticked the allow users to modify the dock option. I also tried downloading Onyx and setting it up through there but it was a no go. Anyway, if anyone has any idea then that would be awesome.
    I don't see any problem, other than your not knowing the icons in the Dock are aliases.
    You should set the same user controls and preferences on the second admin as the first and your problems should disappear.
    OnyX is a great program, I recommend it highly, but I don't see it fixing your problem in this case. Unless there is something your not being clear on.

  • I can't copy iPhoto to my external hard drive. It will not allow me to drag and drop or copy and paste., I can't copy iPhoto to my external hard drive. It will not allow me to drag and drop or copy and paste.

    I can't copy iPhoto to my external hard drive. It will not allow me to drag and drop or copy and paste., I can't copy iPhoto to my external hard drive. It will not allow me to drag and drop or copy and paste.

    NTFS is your problem.
    iPhoto needs to have the Library sitting on disk formatted Mac OS Extended (Journaled). Users with the Library sitting on disks otherwise formatted regularly report issues including, but not limited to, importing, exporting, saving edits and sharing the photos.
    See this article
    http://support.apple.com/kb/TS5168
    for more. Note also the comment:
    “Additionally, storing the iPhoto library on a network rather than locally on your computer can also lead to poor performance or data loss.”

  • My touch pad is no longer responding to hard press downs for drag and drop or copy and paste

    my touch pad is no longer responding to hard press downs for drag and drop or copy and paste ability

    may be a totally stupid question, but how can I tell?

  • Custom drop zone shapes and button shapes

    Are there any packages out there of designer created drop zone shapes and botton shapes? I am learning how to create my own, but I'm fairly new to design programs such as Photoshop. Are there designers who have created ones, and are they available to download?

    why pay someone for this when its so easy to create your own custom assests?
    http://www.kenstone.net/fcphomepage/shapes_droptemplates.html
    http://www.kenstone.net/fcphomepage/advanced_dropzones.html

  • Drag and drop parts of an image

    Is there a way to display an image (such as a scanned page) and then have areas that can be dragged and dropped? For instance, suppose the scanned page has some text fields. I would like some of text fields in the scanned form to have boxes around them (perhaps a different color, perhaps marching ants) to indicate that they are fields of interest. I would like to be able to drag and drop one of those text fields onto another text field (probably on the right side of a split pane - this right panel is not a scanned image but a panel with real fields). I've seen information about dragging and dropping fields and images but not precisely this problem. Thanks for any help. I'm new to Swing and so am out of my league.

    You want the user to select the area? Sure that can be done fairly simply. You want the app to automatically figure out what parts of an image are what? That's not simple at all.
    Either way, it's not so much about swing as custom painting. Try checking this out:
    http://www.jhotdraw.org/

  • Using NetBeans and Eclipse to drag and drop forms, controls etc

    Hi, can you use NetBeans and Eclipse to drag and drop like say with C# in MS Visual Studio ?
    like forms and listboxes, textboxes etc ??

    And [this is a good place to start|http://java.sun.com/docs/books/tutorial/uiswing/index.html]
    db

  • Drag and Drop Smart Shapes Not Scoring Correct

    I have 6 smart shapes as drag sources and 6 smart shapes as drop targets. All of them are the exact same size, but I can't get them to recognize a correct answer using an absolute snap behavior and a 20 pixel hit padding. There is more than enough space around each target so there is no overlapping going on. It continues to show a failure when all of the drag sources are correctly placed on the targets.

    I checked your interaction and here are my observations. I have also added how I went about testing, so that you can probably repeat the same when face a similar issue. My approach is just my way, and not necessarily the best way.
    It was clear that the interactions were not accepting your correct answers. So, to identify which "correct" answers were considered incorrect by the interaction:
          a) I created a variable "CheckAns" and displayed it in a text caption.
          b) In the Acceptable Drag Sources of each Drop Target (select the drop target, click Accept.. in the Drop Target accordion), I executed the following advanced action for the correct combination.
                 i) Increment CheckAns by 1
                ii) Assign cpCmndGotoFrame with cpInfoCurrentFrame
         For example, the Vision drop target accepts all sources. I executed the advanced action only for Vision source. Thus, when the Vision source is dropped on the target, the variable value in the text caption I created in 1.a) increments by 1.
    Result: When I took a preview of this version, I noticed that Vision and Integrity sources were not considered as the right answers even when I place them on the right targets, probably because I was not placing the sources in the right positions. (I played around your targets before this step. So, when you test, this might happen for some other objects.)
    Next step was to identify the exact "right" position for these two sources. So, I enabled the On Hint caption for these objects. The On Hint caption appears only when you drag the source to the "acceptable" position of the drop target. To enable it, select the drop target, go to Drop Target accordion, and select the On Hint check box.)
    Result: The On Hint caption appeared when I drag the source a bit too far from the actual Drop Target object. And, when I placed the source in that position, my CheckAns variable value increased by 1.
    Conclusion: The issue is because of the position. It will be better (and perhaps more easier) to create this interactivity from scratch. Do not use the drop sources and targets from this interaction. Also, for Failure, I suggest you assign the "Go to next slide" action instead of Continue. This is just to ensure that the project moves to next slide and not necessarily the next frame (Continue command moves only next frame). Also, as a best practice, I strongly encourage you to use appropriate names for any objects in your project. For example, you can name Vision source object as Vis_Src. The Next button can be named "Next_Bt". When I opened your project, that is the first thing I did. It will be extremely useful when you are using these objects in advance actions. Imagine how difficult it will be if you want to hide the Next button on the last slide of your project, and you will see a huge list of buttons, named Button_1 to Button_127. Which button will you hide?
    Additional info: I started a blank project. I created similar drop sources and targets (circles with outlines) and layout, and used only your success caption. Added the verification elements I mentioned above and everything worked fine.
    Hope this helps.
    Sreekanth

  • Drag and drop or place multiple images

    Hi,
    I'm working with Photoshop Elements 12 and would like to place multiple images (on different layers) in my project but am only able to place one image with the option "place" at a time. Is there a way to place multiple images at once?
    Other option that works in Photoshop is drag and drop mutliple files from my finder window (I'm a MAC user) into the open project. This would create multiple new layers with the imported files. This doesn't work for me with Photoshop Elements 12. When I drag and drop, new projects are created with the imported files.
    Hope someone has an answer for this. Thanks!

    Thanks LarryHN thats helpful. I've just tried that and the export 'current' option does indeed re-create the edited photo file with exactly the same file size at that shown in iPhoto. I did consider the 'current' option but was put off by the loss of the metadata with this option. But maybe the old drag and drop approach was the same?
    It's curious that the resulting file size from 'export, current' is different (larger in the example I just tried) in comparison to that resulting from 'export, jpeg' (with either the medium or high option selected).
    OK there seems to be a couple of reasonable options available although neither is as nice as the simple 'drag and drop' which used to be available!!! Why would they remove that option?? (and yet not for single files?).
    Thanks
    Tom

Maybe you are looking for