Referencing a source datagrid from within a drag and drop handler

My application implements a drag and drop between two datagrids.
I would like to keep track of how many times a particular row in the source datagrid has been dragged to the target.
The drag and drop handler should increment a DataGridColumn in the source datagrid row each time this happens.
I can't figure out a way to refer back to the source datagrid and set a value in its dataprovider from within the drag and drop handler function.
The source datagrid is in a module and the target datagrid in in a popup called from the module. The function below is in the popped up custom component.
public function dragDropHandler(event:DragEvent):void
   if (event.dragSource.hasFormat("items"))
      var sComponentName:String;
      var iPos:int;
      //From which component was the drag initiated? This works sComponentName is set
      sComponentName = String(event.dragInitiator);
      //This does not work, compile error
      iPos = event.dragInitiator.selectedIndex;
         trace("Comp:MealPlanDetailCreate, function:dragDropHandler - event.dragInitiator: " + event.dragInitiator + "    parent container: " + event.dragInitiator.parent)
        trace( "    sComponentName: " + sComponentName +" name pos: " + sComponentName.indexOf("dgMP"))

Hi ZolanSilv...,
attached is an example of what i mean.
Hope it helps.
Mike
Message Edited by MikeS81 on 08-18-2008 12:35 PM
Attachments:
draganddrop_image_LV85.vi ‏19 KB

Similar Messages

  • Datagrid not refreshing after drag and drop

    Please help me solve this: my datagrid DOES refresh itself,
    but only after the SECOND drag and drop.
    Here's an example of my datagrid :
    1. Label a Description a
    2. Label b Description b
    3. Label c Description c
    When I drag the third row to the top of the datagrid, I want
    to see updated row numbers like this:
    1. Label c Description c
    2. Label a Description a
    3. Label b Description b
    But I see this
    3. Label c Description c
    1. Label a Description a
    2. Label b Description b
    Now let's swap rows 2 and 3; now the datagrid will correctly
    show 1. in the first row! (Of course 3. and 2 are messed up until
    the next drag and drop).
    1. Label c Description c
    2. Label b Description b
    1. Label a Description a
    As you can see, row #1 is now correctly displaying "1." This
    is happening only after the second drag and drop occurs.
    Here's my strategy:
    1. I'm using a datagrid with an ArrayCollection as the
    dataprovider.
    2. The datagrid uses the dragComplete event to call a
    function (function shown below).
    3. This function uses a loop to update the property GOALORDER
    of each row in the ArrayCollection
    4. This function also creates an object of new GOALORDER's to
    update the database (this part is working fine).
    I've noticed somewhere in the docs that, when a datagrid is
    experiencing multiple changes it turns on
    ArrayCollection.disableAutoUpdate automatically. IS THIS TRUE? This
    could explain why my datagrid does not immediately refresh.
    Is there some way to drag and drop, update the
    ArrayCollection, and refresh the datagrid- in that order?
    Thanks!
    Here's the misbehaving function!
    // re-sort the list NOTE first index=0, first goalorder=1
    private function reSort():void
    var params:Object = new Object();
    params.DBACTION = "reorder";
    var i:int;
    var g:int;
    for (i = 0; i < acGoals.length; i++)
    g=i+1;
    // replace GOALORDER in ArrayCollection
    var editRow:Object = acGoals
    editRow.GOALORDER = g;
    acGoals.setItemAt(editRow, i);
    // create multiple entries to edit database
    params["GOALID"+g]= acGoals.getItemAt(i).GOALID;
    params["GOALORDER"+g]= g;
    params["rowsToUpdate"] = g;
    //HTTPService to
    hsGoalAction.send(params);

    Fateh wrote:
    I just forgot to make the event scope of the dynamic action LIVE...and that the <tt>font</tt> element has been deprecated since 1999 and now does not exist in HTML?

  • Lightroom Drag and Drop

    Hallo,
    ich verwalte meine Bilder bisher mit Elemetns 6. Ich möchte jedoch auf Lightroom 2 wechseln (Geschwindigkeit). Ich mache hauptsächlich Panorama und HDR. Also Bearbeitung in Externen Programmen. Dazu markiere ich die benötigten Bilder (in der Regel 12-30)in Elements und ziehe diese per Maus in das andere Programm. Leider funktioniert dies in Lightroom nicht. Ich kann auch nur ein externes Programm einbinden. Bei mir ist dies Nikon Capture NX 2. Kann mir jemand sagen, wie ich in Lightroom die Bilder an andere programm per Mausziehen übergeben kann. Oder besteht die Möglichkeit weitere externe Programme einzubinden.
    Danke und viele Grüße
    Lothar Alb

    I dont want to drag and drop dnd, but the orginal files. I do picture mangagement (keywords etc.) not editing in lightroom, so I just want to use the pictures I managed in my catalog to use in indesign quickly. If you drag and trop something from .AI into photoshop for example it does work.
    Illustrator and PS are both programs where the image you see has a 1:1 correspondence with an image file.
    Since Lightroom is just using the paths of pictures it should be able to place pictures from lightroom into inDesign directly. Same as Bridge does.
    In Bridge (as with all conventional digital asset managers), each thumbnail shown, reliably "maps" to a given digital asset in 1:1 correpondence
    In order to access the asset that is referenced by a LR image, you can select "show in Explorer/Finder".
    A normal OS folder window opens with that source file already highlighted. Dragging and dropping this into another program or folder, will lead to whatever outcome you would normally expect. Of course, dragging it onto another folder will move it in a way that disrupts LR's referencing of that, within its Catalog. But drag-drop operations that COPY this file or generate new referencing or versions based on that, should be safe in LR terms.
    A "picture" seen in Lightroom, is not the same thing as a file, it is a virtual entity.
    Dragging that thumbnail from one place to another inside LR may have the effect of adding collection membership to that image, or causing it to be included in a list of images to be exported, or whatever, and may also affect the original file's location if dragged onto a different folder.
    This thumbnail may, though, merely represent one processing variation (Virtual Copy) that is sharing the use of an underlying file on disk, with another thumbnail(s).
    RP

  • Advanced Data Grid - Drag and Drop

    I have a drag and drop enabled Advance Datagrid that is
    populated by an arraycollection. Although it is not shown below,
    each object within the arraycollection has the attribute "GroupID"
    and based on that id is associated to a group using the
    GroupingCollection. Dragging and dropping a row from one grouping
    to the another grouping works great - i.e.if Row2 from GroupA is
    dragged and dropped into GroupB.
    The problem is that I need to update the database to reflect
    the change as well. In order to do that I have to capture the
    GroupID value that is associated with the new group - in this case
    GroupB. Unfortunately, this is where I am stumped and need some
    help. Any help would be greatly appreciated.
    GroupA (GroupID = 1)
    -- Row1
    -- Row 2
    GroupB (GroupID = 2)
    -- Row1
    private function dragHandler(e:DragEvent):void{
    var dg:AdvancedDataGrid = AdvancedDataGrid(e.currentTarget);
    //Get GroupID of new grouping
    //Call webservice and udpate database
    //Refresh datagrid

    I haven't worked with ADG and reag/drop, but with regular DG:
    var iTargetIndex:int = dg.calculateDropIndex(e);
    With the index you can find the item in the dataProvider.
    Tracy

  • How to drag and drop tab nodes between tab panes

    I'm working on example from this tutorial( Drag-and-Drop Feature in JavaFX Applications | JavaFX 2 Tutorials and Documentation ). Based on the tutorial I want to drag tabs between two tabs. So far I managed to create this code but I need some help in order to finish the code.
    Source
    tabPane = new TabPane();
    Tab tabA = new Tab();
       Label tabALabel = new Label("Main Component");
    tabPane.setOnDragDetected(new EventHandler<MouseEvent>()
                @Override
                public void handle(MouseEvent event)
                    /* drag was detected, start drag-and-drop gesture*/
                    System.out.println("onDragDetected");
                    /* allow any transfer mode */
                    Dragboard db = tabPane.startDragAndDrop(TransferMode.ANY);
                    /* put a string on dragboard */
                    ClipboardContent content = new ClipboardContent();
                    content.put(DataFormat.PLAIN_TEXT, tabPane);
                    db.setContent(content);
                    event.consume();
    What is the proper way to insert the content of the tab as object? Into the tutorial simple text is transferred. How I must modify this line content.put(DataFormat.PLAIN_TEXT, tabPane);?
    And what is the proper way to insert the tab after I drag the tab:
    Destination
    tabPane.setOnDragDropped(new EventHandler<DragEvent>()
                @Override
                public void handle(DragEvent event)
                    /* data dropped */
                    /* if there is a string data on dragboard, read it and use it */
                    Dragboard db = event.getDragboard();
                    boolean success = false;
                    if (db.hasString())
                        //tabPane.setText(db.getString());
                        Tab tabC = new Tab();
                        tabPane.getTabs().add(tabC);
                        success = true;
                    /* let the source know whether the string was successfully
                     * transferred and used */
                    event.setDropCompleted(success);
                    event.consume();
    I suppose that this transfer can be accomplished?
    Ref javafx 2 - How to drag and drop tab nodes between tab panes - Stack Overflow

    I would use a graphic (instead of text) for the Tabs and call setOnDragDetected on that graphic. That way you know which tab is being dragged. There's no nice way to put the Tab itself into the dragboard as it's not serializable (see https://javafx-jira.kenai.com/browse/RT-29082), so you probably just want to store the tab currently being dragged in a property.
    Here's a quick example; it just adds the tab to the end of the current tabs in the dropped pane. If you wanted to insert it into the nearest location to the actual drop you could probably iterate through the tabs and figure the coordinates of each tab's graphic, or something.
    import java.util.Random;
    import javafx.application.Application;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.control.Tab;
    import javafx.scene.control.TabPane;
    import javafx.scene.input.ClipboardContent;
    import javafx.scene.input.DragEvent;
    import javafx.scene.input.Dragboard;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.input.TransferMode;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    public class DraggingTabPane extends Application {
      private static final String TAB_DRAG_KEY = "tab" ;
      private ObjectProperty<Tab> draggingTab ;
    @Override
      public void start(Stage primaryStage) {
      draggingTab = new SimpleObjectProperty<>();
      TabPane tabPane1 = createTabPane();
      TabPane tabPane2 = createTabPane();
      VBox root = new VBox(10);
      root.getChildren().addAll(tabPane1, tabPane2);
      final Random rng = new Random();
      for (int i=1; i<=8; i++) {
        final Tab tab = createTab("Tab "+i);
        final StackPane pane = new StackPane();
          int red = rng.nextInt(256);
          int green = rng.nextInt(256);
          int blue = rng.nextInt(256);
        String style = String.format("-fx-background-color: rgb(%d, %d, %d);", red, green, blue);
        pane.setStyle(style);
        final Label label = new Label("This is tab "+i);
        label.setStyle(String.format("-fx-text-fill: rgb(%d, %d, %d);", 256-red, 256-green, 256-blue));
        pane.getChildren().add(label);
        pane.setMinWidth(600);
        pane.setMinHeight(250);
        tab.setContent(pane);
        if (i<=4) {
          tabPane1.getTabs().add(tab);
        } else {
          tabPane2.getTabs().add(tab);
      primaryStage.setScene(new Scene(root, 600, 600));
      primaryStage.show();
      public static void main(String[] args) {
      launch(args);
      private TabPane createTabPane() {
        final TabPane tabPane = new TabPane();
        tabPane.setOnDragOver(new EventHandler<DragEvent>() {
          @Override
          public void handle(DragEvent event) {
            final Dragboard dragboard = event.getDragboard();
            if (dragboard.hasString()
                && TAB_DRAG_KEY.equals(dragboard.getString())
                && draggingTab.get() != null
                && draggingTab.get().getTabPane() != tabPane) {
              event.acceptTransferModes(TransferMode.MOVE);
              event.consume();
        tabPane.setOnDragDropped(new EventHandler<DragEvent>() {
          @Override
          public void handle(DragEvent event) {
            final Dragboard dragboard = event.getDragboard();
            if (dragboard.hasString()
                && TAB_DRAG_KEY.equals(dragboard.getString())
                && draggingTab.get() != null
                && draggingTab.get().getTabPane() != tabPane) {
              final Tab tab = draggingTab.get();
              tab.getTabPane().getTabs().remove(tab);
              tabPane.getTabs().add(tab);
              event.setDropCompleted(true);
              draggingTab.set(null);
              event.consume();
        return tabPane ;
      private Tab createTab(String text) {
        final Tab tab = new Tab();
        final Label label = new Label(text);
        tab.setGraphic(label);
        label.setOnDragDetected(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            Dragboard dragboard = label.startDragAndDrop(TransferMode.MOVE);
            ClipboardContent clipboardContent = new ClipboardContent();
            clipboardContent.putString(TAB_DRAG_KEY);
            dragboard.setContent(clipboardContent);
            draggingTab.set(tab);
            event.consume();
        return tab ;

  • ExtJS Drag and Drop Tree Implementation

    Hello!
    I found this wonderful example of a drag and drop tree, with the ability to save the changes, but I'm not quite sure how to go about implementing it. Can someone point me in the right direction?
    Thank you,
    Tammy

    Hi Tammy
    My example uses drag and drop also, so the details are there.
    Regarding your question on how to get started:
    Really it's just a case of breaking the problem down into managable parts until you have solved all the pieces.
    Start by implementing the "AJAX form using globals" at http://apex.oracle.com/pls/otn/f?p=200801:2011
    It shows you how to pass data back to the database using AJAX with the WWV_FLOW variables, which are there for exactly that purpose.
    Make sure you also understand the response Ext is expecting, use Firebug to examine the responses in both examples.
    Once your comfortable with that, try loading a tree using an application process.
    You can create stubbed responses initially for the application process, e.g.
    htp.p(^'[{
        "text": "adapter",
        "id": "source\/adapter",
        "cls": "folder"
        "text": "dd",
        "id": "source\/dd",
        "cls": "folder"
        "text": "debug.js",
        "id": "source\/debug.js",
        "leaf": true,
        "cls": "file"
    }]^');From there, add drag and drop calls, replace your stubs with production code...
    I use application processes as a gateway, simply passing requests through to a database package.
    It's not a small task by any means, so allow plenty of time for learning and understanding.
    Regards
    Mark

  • Can't Drag and drop anymore in 10.8.2

    It's baaaaaaaaaack.
    I'm having drag and drop problems, AGAIN!
    Solution from the topic Drag and drop issues 10.8.1 no longer works. from here: https://discussions.apple.com/message/19359042#19359042
    I do dragging and dropping all the time so I NEED this to work!
    Anyone else know how to fix this?
    I'm on a 15-inch MacBook Pro Late 2008

    Found the fix, at least for the issue I was having...
    For whatever reason, the problem had to do with enabling audio in AirParrot (I have an older MBP incapable of native AirPlay).
    To fix this:
    - Go to [HD]\System\Library\Extensions
    - Delete AirParrotDriver.kext & APExtFramebuffer.kext
    - reboot
    Hope this helps anyone else who was pulling their hair out over this.
    The original Lion solution for this was found here:
    http://forums.macrumors.com/archive/index.php/t-1410984.html

  • Combining PDFs - drag and drop errors

    We regularly assemble large numbers of documents by gathering pages from 5 or more seperate documents using various drag and drop methods.
    As it's a simple collation, we'd been able to simply drag a document icon from the finder to the corrent point in the final documents pages/thumbnail view to add it.
    This works well when combining two documents - but when you combine three or more, you get a very strange behaviour:
    Acrobat will continue to re-copy content from the first drag and dropped document, rather than content from the subsequent documents!
    And this drives us crazy.
    Our workaround requires us to open each document one at a time in thumbnail view and drag between these views - which seems pointless when you're moving the entire content of each document into the other.
    Anyone else experienced this issue? Anyone have any insights?
    (Running Acrobat 8.2.5)
    regards

    http://kb2.adobe.com/cps/401/kb401518.html

  • Drag and drop won't work since installing InDesign CC 2014

    That's it really. Any ideas?
    I'm on an iMac with 10.9.4. Since installing InDesign from Creative Cloud Drag and drop, and I think cut and paste doesn't work.

    google those issues.

  • Drag and drop row within same table.

    Version 12.1.2
    I am trying to implement drag and drop row within same table, and I am trying to follow this sample from Frank:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/106-reorder-table-rows-1921121.pdf
    But, I am getting this cast exception. The code I have in my dropEvent bean is identical to whats on the sample.
    oracle.jbo.server.ViewRowImpl cannot be cast to oracle.jbo.uicli.binding.JUCtrlHierNodeBinding
    ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #1
    Not sure if anything has changed on 12c release, or if I am missing anything.
    Here is my complete code:
    public DnDAction doDnD(DropEvent dropEvent) {
    RichTable table = (RichTable) dropEvent.getDragComponent();
    List dropRowKey = (List) dropEvent.getDropSite();
    if (dropRowKey == null) {
    return DnDAction.NONE;
    Transferable t = dropEvent.getTransferable();
    DataFlavor<RowKeySet> df = DataFlavor.getDataFlavor(RowKeySet.class, "rowmove");
    RowKeySet rks = t.getData(df);
    Iterator iter = rks.iterator();
    List draggedRowKey = (List) iter.next();
    JUCtrlHierNodeBinding draggeRowNode = (JUCtrlHierNodeBinding) table.getRowData(draggedRowKey);
    Row dragRow = draggeRowNode.getRow();
    JUCtrlHierNodeBinding dropRowObject = (JUCtrlHierNodeBinding) table.getRowData(dropRowKey);
    Row dropRow = dropRowObject.getRow();
    //get the table's ADF JUCtrlHierBinding
    CollectionModel collectionModel = (CollectionModel) table.getValue();
    JUCtrlHierBinding treeBinding = (JUCtrlHierBinding) collectionModel.getWrappedData();
    DCIteratorBinding objectsIterator = treeBinding.getDCIteratorBinding();
    RowSetIterator rsi = objectsIterator.getRowSetIterator();
    int indexOfDropRow = rsi.getRangeIndexOf(dropRow);
    dragRow.removeAndRetain();
    rsi.insertRowAtRangeIndex(indexOfDropRow, dragRow);
    objectsIterator.setCurrentRowIndexInRange(indexOfDropRow);
    AdfFacesContext adfctx = AdfFacesContext.getCurrentInstance();
    adfctx.addPartialTarget(table.getParent());
    return DnDAction.MOVE;
    It does not seem to like this line of code:
    JUCtrlHierNodeBinding draggeRowNode = (JUCtrlHierNodeBinding) table.getRowData(draggedRowKey);
    I would greatly appreciate any help.
    Thanks.

    Well there has bee a changes somehow. using 12c
    table.getRowData(draggedRowKey);
    returns a ViewRowImpl and no longer anything which can be convertet to JUCtrlHierNodeBinding. Anyway, the fix is easy:
        public DnDAction onDepartmentsRowDrop(DropEvent dropEvent) {
            //get the table instance. This information is later used
            //to determine the tree binding and the iterator binding
            RichTable table = (RichTable) dropEvent.getDragComponent();
            List dropRowKey = (List) dropEvent.getDropSite();
            //if no dropsite then drop area was not a data area
            if (dropRowKey == null) {
                return DnDAction.NONE;
            //The transferable is the payload that contains the dragged row's
            //row key that we use to access the dragged row handle in the ADF
            //iterator binding
            Transferable t = dropEvent.getTransferable();
            //get the row key set of the dragged row. The "rowmove" string is the
            //discriminant defined on the drag source and the collectionDrop target.
            DataFlavor<RowKeySet> df = DataFlavor.getDataFlavor(RowKeySet.class, "rowmove");
            RowKeySet rks = t.getData(df);
            Iterator iter = rks.iterator();
            //for this use case the re-order of rows is one-by-one, which means that the rowKeySet
            //should only contain a single entry. If it contains more then still we only look at a
            //singe (first) row key entry
            List draggedRowKey = (List) iter.next();
            //get access to the oracle.jbo.Row instance represneting this table row
            Object objdragg = table.getRowData(draggedRowKey);
            Row dragRow = (Row) objdragg;
            Object objdrop = table.getRowData(dropRowKey);
            Row dropRow = (Row) objdrop;
            //get the table's ADF JUCtrlHierBinding
            CollectionModel collectionModel = (CollectionModel) table.getValue();
            JUCtrlHierBinding treeBinding = (JUCtrlHierBinding) collectionModel.getWrappedData();
            //get access to the ADF iterator binding used by the table and the underlying RowSetIterator.
            //The RowSetIterator allows us to remove and re-instert the dragged row
            DCIteratorBinding departmentsIterator = treeBinding.getDCIteratorBinding();
            RowSetIterator rsi = departmentsIterator.getRowSetIterator();
            int indexOfDropRow = rsi.getRangeIndexOf(dropRow);
            //remove dragged row from collection so it can be added back
            dragRow.removeAndRetain();
            rsi.insertRowAtRangeIndex(indexOfDropRow, dragRow);
            //make row current in ADF iterator.
            departmentsIterator.setCurrentRowIndexInRange(indexOfDropRow);
            //ppr the table
            AdfFacesContext adfctx = AdfFacesContext.getCurrentInstance();
            //note that the refresh of the table didn't work when refreshing the table
            //so I needed to refresh the container component (af:panelStretchLayout).
            adfctx.addPartialTarget(table.getParent());
            return DnDAction.MOVE;
    does the trick. I changed the line to
    //get access to the oracle.jbo.Row instance represneting this table row
            Object objdragg = table.getRowData(draggedRowKey);
            Row dragRow = (Row) objdragg;
    so you don't need the detour through the JUCtrlHierNodeBinding any longer.
    Timo

  • Mail "New Message" window retreats to background after drag and drop attachment from Finder to Mail "New Message", click, and Finder window stays in foreground even when not in focus

    Hi, I'm surprised I can't quickly find if anyone else is having this issue. For me it has been going on since Lion on my 13" MacBook Pro 2011 and it's still persisting in Mavericks, and even still now that I've "downgraded" to a 15" MacBook Pro 2010 with Mavericks.  The behavior is odd and difficult to explain concisely. Basically, when I want to add an attachment to Mail, I'll Cmd+Tab over to Finder click and drag and Cmd+Tab back to Mail, and drop the attachment. At first it looks fine, but when I click in the New Message window where I just dropped the attachment, to move the cursor, it retreats to the background and the Mail Main Window comes to the foreground. Then, if I click on that, the Finder window that I just used comes to the foreground. Sometimes if I switched to another app before going to Finder to select the drag and drop, that other app window will appear in the foreground instead. If I click on the other app window that is now in the foreground, then the Finder window that was last used will come to the foreground. The only thing that seems to fix this switch-a-roo effect is Cmd+Tab-ing back and forth a few times, or click on the window "frame" at the top to move the window around.
    The way to prevent this is to have my Mail Message window visible in the foreground side by side with the Finder window when the drag and drop occurs (this is a tedious extra step if mulitple windows are open, or to use the add attachment command in the menu within Mail. But it sure is annoying buggy behavior.
    Thanks
    Daniel

    Yep, I get exactly the same thing when using Thunderbird mail client on my 2011 iMac running Lion. I've been putting up with it for at least a year, maybe longer.
    For me it appeared to start after a Thunderbird update, so I figured that was the cause and couldn't find a solution at the time. However I've now noticed it starting to happen in Apple Motion 4 when dragging files from Finder into a DropZone in my animations. Motion remains the active program but the Finder window sits on top until I Cmd-tab out to a third open program (ie not Finder) and back to Motion again.
    This is the first indicator I've had that it's an OS X issue.
    Be great to find a solution as D&D is by far my preferred way of adding attachments to emails and similar tasks.

  • Why can't I drag and drop music from a folder on my PC into my iTunes window?

        Why can't I drag and drop music from a folder on my PC into my iTunes window?
    I have not found any article that has answered this question. They have come up with things like open the side bar and it will work, or you are using wrong format of music. Now this all happened when I upgraded to iTunes 10 and has not worked since and it worked fine before. Music format is correct, I have even gone as far as copying a file already in iTunes and trying to add it again. As soon as the files enters the frame of iTunes the music files icon the pointer is carrying turns into a circle with a slash through it.
    ITunes Ver. is 11.1.5.5  Windows Ver. is Windows 8.1 Pro with Media Center
    Files I have tried adding are standard MP3, 256 kbps purchased AAC Audio file, MP3 converted by iTunes into a 256 or 320 kbps AAC Audio file. None can be draged and droped but all can added by going to File/Add File to Library...  or File/Add Folder to Library...
    Add items from your computer to your iTunes library
    Do either of the following:
    1. Drag a file or folder from the desktop to the iTunes window.If you add a folder, all the files it contains are added to your library.
    2. In iTunes, choose File > Add to Library, locate a file or folder, and click Open.
         I can add files and folders by doing number 2 above but can not doing number 1
    I have gone as far as uninstalling iTunes and reinstalling per apple procedures below.
    Steps
    1. Remove iTunes and its related components from the Control Panel
    Use the Control Panel to uninstall iTunes and related software components in the following order and restart your computer:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Important: Uninstalling these components in a different order or only uninstalling some of these components may have unintended effects.

    I had this problem on Windows 8.1.1 and iTunes 11.2.2.3
    To resolve it from within Itunes I did :  Edit, Preferences, Sharing.
    I took the tick out of "Share my library on my local network"
    Click OK.
    Closed iTunes/
    Reopened iTunes and I can drag and drop.
    I went back into Edit, Preferences, Sharing and put the tick back and clicked OK.
    Works fine now.

  • Why cannot I drag and drop songs from one playlist to another?

    Actually I have two questions.  I just updated from Leopard to snow leopard.  Now when I import songs, it says "Do you want to import to burn playlist?"  I click "yes".  Then when it is finished copying, I go to "playlists" on the top of the screen and click on the "burn playlist" and it says there are no items.  Where did the songs go.  I would like to burn a playlist that I imported this way.  I haven't tried arranging songs in the order I want them yet, but now see that is an issue also.  I also used to see a list of my playlists on the left side of the screen and the songs within each of those playlists when I clicked on them and easily could drag and drop songs from one playlist to another.  How do I do the same functions that I used to do before I updated? Does this update make it impossible to do the same functions as before?  Where can I find a "manual" of sorts to direct me to explain this new format?  If there is no way to do these things, I will have to say that I want my old iTunes back.  Can I do so???  Actually, the only reason I updated was so that I could play pix and movies from my camera into iPhoto.  When I did so, it said I had to update other programs to get iPhoto to work.  I am trying very hard not to be very frustrated.  PLEASE HELP!!!!!!!!!!!!!!!!!!

    After poking around for a while figured how to do things in this new iTunes.  Not as intuitive as the old one.  Sorry I don't have time to tell what I figured out.  Maybe some other time.

  • Drag and drop a URL from IE's address bar

    I have a Processing application written (by others) that uses [Andreas Schlagel's sDrop library|http://www.sojamo.de/libraries/drop/] to accept URLs dragged and dropped from the users' browsers' address bar. The application works fine for Chrome and for Firefox and for old versions of IE but not for IE 9 or IE 10. I'm investigating how to fix this.
    In the sDrop library [the Java code to handle the drop|http://code.google.com/p/sojamo/source/browse/trunk/src/sojamo/drop/DropHandler.java] uses the Java class DataFlavor which in turn defines a number of flavours:
    imageFlavor
    javaFileListFlavor
    javaSerializedObjectMimeType
    plainTextFlavor (deprecated)
    stringFlavor
    Over on StackOverflow one questioner enumerates the data formats offered by the different browsers when they drop and for IE he lists:
    UntrustedDragDrop
    msSourceUrl
    FileGroupDescriptor
    FileGroupDescriptorW
    FileContents
    UniformResourceLocator
    Effects: Link
    The URL format does not seem to match the DataFlavors given by the class. Is this where the two additional DataFlavors, javaJVMLocalObjectMimeType and javaRemoteObjectMimeType come into there own? If so, then can someone point me at any samples, examples, tutorials, or code snippets where a Java application is the successful drop target for a URL dragged from IE's address bar?

    Dragging an URL '''OR''' the 'favicon' does '''NOT''' work when you want to drag this to a sub 'folder' in your bookmarks. e.g. I drag an URL or favicon to Bookmarks, I have a sub-folder called 'Recipes' where I want to drop the dragged object. I position the mouse over 'Recipes' and the sub-menu appears. I move the dragged object to drop this on the recipe list in the sub-menu and the sub-menu simply disappears. Equally, I CAN drop this on the top level BM menu but it does not drop in the place needed (I want this (e.g.) NOT at the bottom but two up from there. What happens is that the dropped URL appears to locate it self in a random position. Easy to replicate by dragging the same URL to the BM menu and it drops wherever it feels like. FF team have clearly failed to do some basic testing on this and there are many (correction MANY) other annoying things like this that show there has been poor or insufficient testing. I have been a fan of FF for a long time and recommended it to others. Now I cannot do this with confidence and am seriously thinking of switching back to an old version. However, I might simply go to Chrome. Are you listening FF team? A simple look at the forums will show the groundswell of annoyed people. You have altered the way many things work, seemingly focusing on prettifying things rather than ensuring stability and ensuring basic features continue to work...

  • I recently uploaded some pics and videos from an ipad and a camera. I put them all on Iphoto and backed them up in my personal folder. I then trimmed one of the videos and dragged and dropped that into the master folder(pictures). Its now gone!! HELP!?!?!

    I rencently added all my photo's from my Ipad and Camera. There were photos and videos on both. The import was done through Iphoto and then transfered to my backup in my pictures folder. I then took one of my videos and trimmed it and then addded that trimmed version to my back up(pictures)albumn. It asked If i wanted to replace existing photo or cancel and I hit replace. Now the file plays great on Iphoto but I am unable to share it through any form(facebook, Imessage etc) and in my back up(pictures) it says the file in only 87kb. I dragged and dropped it from Iphoto to the desk top along with another important video, when I hit get info on both of them one of them is a full sized video(50mb or whatever) and the other one(the one I am trying to recover) is only the 87kb. I want this full file avaiable to me how can I get it back?? it is already deleted off the camera??? please please help me.

    Garret,
    is your movie in your backup folder a Quicktime movie? Then probably only have the Quicktime wrapper in your backup folder, but not the referenced media in the file fork of the movie. If you see the full quality movie in iPhoto in QuickTime player, don't drag it from the browser to the Desktop, but use "File > Reveal in Finder > Original File" to show the movie in your iPhoto Library. Select the Movie when it is revealed and ctrl-click it to open it in Quicktime Player.
    Export it from Quicktime Player with "Export to" and share it to iTunes. This way it will be converted to a .mp4 movie that embeds the missing resources.
    You can drag the converted movie from iTunes to the Desktop or share it using to Media Browser to other applications.
    Regards
    Léonie

Maybe you are looking for

  • NULL in primary keys NOT logged to exceptions table

    Problem: Inconsistent behavior when enabling constraints using the "EXCEPTIONS INTO" clause. RDBMS Version: 9.2.0.8.0 and 10.2.0.3.0 - NULL values in primary keys are NOT logged to exceptions table - NOT NULL column constraints ARE logged to exceptio

  • Rebuilding (smart) Playlists incl. ratings

    I have finally received my new iMac and would like to transfer the itunes library from my MB Air to it complete with all the (smart) playlists and star ratings etc. What is the best way to do that? I have copied my library and the content is there bu

  • Form UIBB using the File Upload display type

    Hello, I have a Form UIBB within the GAF. The Form UIBB contains 1. Two input fields - Date(Input Field) and File Name(which is marked as Display Type - File Upload) 2. Action button - (Upload). The File Name field is created as Predefined Type STRIN

  • Need to determine which partner function level is pulling in the currency (

    need to determine which partner function level is pulling in the currency (sold to, ship to , bill to or payer)on sales invoices Also I my requirement is to have different currency based on different ship to party for same sold to..then how set up th

  • To change view property during runtime

    Hi, I have a scenario where we have 2 views embedded in a window. First View's property is set to True and second View's property is set to false. We have a button say "show view" in first view and now we want to change the second view's property to