ListView drag and drop - tearoff/resort with touch

I want to use drag and drop internally within a ListView to resort items.
I figured it out, and it worked well on my development system in the simulator using a mouse, but when I moved it to a tablet for testing, using the touch screen I couldn't get the items in the list to break free when I pulled them horizontally. They would
bounce a little but I wouldn't tear off and allow me to move them.
After some testing I happened to try it with the stylus, and using the stylus it tears of and allows me to move items as expected.
Does anyone know what flag or setting I need to be setting to enable moving ListView items with finger touches?
Parenthetically it took me a long while to find the right documentation spread over a number of questions, so for the benefit of those that find this message:
you need to set
CanReorderItems="True" AllowDrop="True" CanDragItems="True"
to enable the tearoff resort feature
to access the Drop event after the user has used tear off so you can record the changes you need to use
itemListView.AddHandler(Control.DropEvent, new DragEventHandler(itemListView_Drop), true );
instead of setting the event handler in the xaml

I think to get your scenario working with touch I only had to make a one-line fix: 
In ItemsPage.xaml line 86, setting IsSwipeEnabled to True will enable tear off via touch.
http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.listviewbase.isswipeenabled.aspx
This is specifically needed for touch because with a ScrollViewer (which ListView contains by default) causes panning, but mouse / pen do not.  Thus, this setting turns on special processing to decide whether you're panning the ListView control or trying
to tear off perpindicular to the control.
When I created my own repro project from your data,  I didn't get it initially because for a default ListView object, the property is true.
Hope this helps,
Matt
XAML SDET Lead : Input / DirectManipulation / Accessibility

Similar Messages

  • Problems with ListViews Drag and Drop

    I'm surprised that there isn't an Active X control that can do this more
    easily? Would
    be curious to find out if there is - although we aren't really embracing the
    use of
    them within Forte because it locks you into the Microsoft arena.
    ---------------------- Forwarded by Peggy Lynn Adrian/AM/LLY on 02/03/98 01:33
    PM ---------------------------
    "Stokesbary, Michael" <[email protected]> on 02/03/98 12:19:52 PM
    Please respond to "Stokesbary, Michael" <[email protected]>
    To: "'[email protected]'" <[email protected]>
    cc:
    Subject: Problems with ListViews Drag and Drop
    I am just curious as to other people's experiences with the ListView
    widget when elements in it are set to be draggable. In particular, I am
    currently trying to design an interface that looks a lot like Windows
    Explorer where a TreeView resides on the left side of the window and a
    ListView resides on the right side. Upon double clicking on the
    ListView, if the current node that was clicked on was a folder, then the
    TreeView expands this folder and the contents are then displayed in the
    ListView, otherwise, it was a file and it is brought up in Microsoft
    Word. All this works great if I don't have the elements in the ListView
    widget set to be draggable. If they are set to be draggable, then I am
    finding that the DoubleClick event seems to get registered twice along
    with the ObjectDrop event. This is not good because if I double click
    and the current node is a folder, then it will expand this folder in the
    TreeView, display the contents in the ListView, grab the node that is
    now displayed where that node used to be displayed and run the events
    for that as well. What this means, is that if this is a file, then Word
    is just launched and no big deal. Unfortunately, if this happens to be
    another directory, then the previous directory is dropped into this
    current directory and a recursive copy gets performed, giving me one
    heck of a deep directory tree for that folder.
    Has anybody else seen this, or am I the only lucky one to experience.
    If need be, I do have this exported in a .pex file if anybody needs to
    look at it more closely.
    Thanks in advance.
    Michael Stokesbary
    Software Engineer
    GTE Government Systems Corporation
    tel: (650) 966-2975
    e-mail: [email protected]

    here is the required code....
    private static class TreeDragGestureListener implements DragGestureListener {
         public void dragGestureRecognized(DragGestureEvent dragGestureEvent) {
         // Can only drag leafs
         JTree tree = (JTree) dragGestureEvent.getComponent();
         TreePath path = tree.getSelectionPath();
         if (path == null) {
              // Nothing selected, nothing to drag
              System.out.println("Nothing selected - beep");
              tree.getToolkit().beep();
         } else {
              DefaultMutableTreeNode selection = (DefaultMutableTreeNode) path
                   .getLastPathComponent();
              if (selection.isLeaf()) {
              TransferableTreeNode node = new TransferableTreeNode(
                   selection);
              dragGestureEvent.startDrag(DragSource.DefaultCopyDrop,
                   node, new MyDragSourceListener());
              } else {
              System.out.println("Not a leaf - beep");
              tree.getToolkit().beep();
    }

  • I downloaded several tv shows on my computer and attempted to drag and drop to my iPod touch.  I received an error message indicating that there was a problem syncing to my iPod.  What steps should I take next?  This has never happened before.

    I downloaded several tv shows on my computer and attempted to drag and drop to my iPod touch.  I received an error message indicating that there was a problem syncing to my iPod.  What steps should I take next?  This has never happened before.

    Force Quit .
    Press command + option + esc keys together at the same time. Wait.
    When Force Quit window appears, select the Safari if not already.
    Press Force Quit button at the bottom of the window.   Wait.
    Safari will quit.
    Relaunch Safari holding the shift key down.
    http://www.thesafemac.com/fbi-ransomware-virus-rampant/

  • How to drag and drop a file with its Systemfile icon to a Jtext area

    I want to drag and drop a file to a JText area with its system file icon , but the problem is I cant show the file icon.
    Anyone knows this.
    this is my code.
    import java.awt.*;
    import java.awt.image.BufferedImage;
    import java.awt.datatransfer.DataFlavor;
    import java.awt.datatransfer.Transferable;
    import java.awt.dnd.DnDConstants;
    import java.awt.dnd.DropTarget;
    import java.awt.dnd.DropTargetDragEvent;
    import java.awt.dnd.DropTargetDropEvent;
    import java.awt.dnd.DropTargetEvent;
    import java.awt.dnd.DropTargetListener;
    import java.io.File;
    import javax.swing.*;
    import javax.swing.filechooser.FileSystemView;
    public class FileDrag extends JFrame implements DropTargetListener {
    DropTarget dt;
    File file;
    JTextArea ta;
    JLabel lbl;
    Graphics g;
    ImageIcon tmpIcon;
    public FileDrag() {
    super("Drop Test");
    setSize(300, 300);
    getContentPane().add(
    new JLabel("Drop a list from your file chooser here:"),
    BorderLayout.NORTH);
    ta = new JTextArea();
    ta.setBackground(Color.white);
    getContentPane().add(ta);
    dt = new DropTarget(ta, this);
    setVisible(true);
    public void dragEnter(DropTargetDragEvent dtde) {
    System.out.println("Drag Enter");
    public void dragExit(DropTargetEvent dte) {
    System.out.println("Source: " + dte.getSource());
    System.out.println("Drag Exit");
    public void dragOver(DropTargetDragEvent dtde) {
    System.out.println("Drag Over");
    public void dropActionChanged(DropTargetDragEvent dtde) {
    System.out.println("Drop Action Changed");
    public void drop(DropTargetDropEvent dtde) {
    FileSystemView view = FileSystemView.getFileSystemView();
    JLabel testb;
    Icon icon = null;
    Toolkit tk;
    Dimension dim;
    BufferedImage buff = null;
    try {
    Transferable tr = dtde.getTransferable();
    DataFlavor[] flavors = tr.getTransferDataFlavors();
    for (int i = 0; i < flavors.length; i++) {
    System.out.println("Possible flavor: " + flavors.getMimeType());
    if (flavors[i].isFlavorJavaFileListType()) {
    dtde.acceptDrop(DnDConstants.ACTION_COPY);
    ta.setText("Successful file list drop.\n\n");
    java.util.List list = (java.util.List) tr.getTransferData(flavors[i]);
    for (int j = 0; j < list.size(); j++) {
    System.out.println(list.get(j));
    file = (File) list.get(j);
    icon = view.getSystemIcon(file);
    ta.append(list.get(j) + "\n");
    ta.append("\n");
    tk = Toolkit.getDefaultToolkit();
    dim = tk.getBestCursorSize(icon.getIconWidth(), icon.getIconHeight());
    buff = new BufferedImage(dim.width, dim.height, BufferedImage.TYPE_INT_ARGB);
    icon.paintIcon(ta, buff.getGraphics(), 10, 10);
    repaint();
    dtde.dropComplete(true);
    return;
    System.out.println("Drop failed: " + dtde);
    dtde.rejectDrop();
    } catch (Exception e) {
    e.printStackTrace();
    dtde.rejectDrop();
    public static void main(String args[]) {
    new FileDrag();

    I want to drag and drop a file to a JText area with its system file icon , but the problem is I cant show the file icon.
    Anyone knows this.
    this is my code.
    import java.awt.*;
    import java.awt.image.BufferedImage;
    import java.awt.datatransfer.DataFlavor;
    import java.awt.datatransfer.Transferable;
    import java.awt.dnd.DnDConstants;
    import java.awt.dnd.DropTarget;
    import java.awt.dnd.DropTargetDragEvent;
    import java.awt.dnd.DropTargetDropEvent;
    import java.awt.dnd.DropTargetEvent;
    import java.awt.dnd.DropTargetListener;
    import java.io.File;
    import javax.swing.*;
    import javax.swing.filechooser.FileSystemView;
    public class FileDrag extends JFrame implements DropTargetListener {
    DropTarget dt;
    File file;
    JTextArea ta;
    JLabel lbl;
    Graphics g;
    ImageIcon tmpIcon;
    public FileDrag() {
    super("Drop Test");
    setSize(300, 300);
    getContentPane().add(
    new JLabel("Drop a list from your file chooser here:"),
    BorderLayout.NORTH);
    ta = new JTextArea();
    ta.setBackground(Color.white);
    getContentPane().add(ta);
    dt = new DropTarget(ta, this);
    setVisible(true);
    public void dragEnter(DropTargetDragEvent dtde) {
    System.out.println("Drag Enter");
    public void dragExit(DropTargetEvent dte) {
    System.out.println("Source: " + dte.getSource());
    System.out.println("Drag Exit");
    public void dragOver(DropTargetDragEvent dtde) {
    System.out.println("Drag Over");
    public void dropActionChanged(DropTargetDragEvent dtde) {
    System.out.println("Drop Action Changed");
    public void drop(DropTargetDropEvent dtde) {
    FileSystemView view = FileSystemView.getFileSystemView();
    JLabel testb;
    Icon icon = null;
    Toolkit tk;
    Dimension dim;
    BufferedImage buff = null;
    try {
    Transferable tr = dtde.getTransferable();
    DataFlavor[] flavors = tr.getTransferDataFlavors();
    for (int i = 0; i < flavors.length; i++) {
    System.out.println("Possible flavor: " + flavors.getMimeType());
    if (flavors[i].isFlavorJavaFileListType()) {
    dtde.acceptDrop(DnDConstants.ACTION_COPY);
    ta.setText("Successful file list drop.\n\n");
    java.util.List list = (java.util.List) tr.getTransferData(flavors[i]);
    for (int j = 0; j < list.size(); j++) {
    System.out.println(list.get(j));
    file = (File) list.get(j);
    icon = view.getSystemIcon(file);
    ta.append(list.get(j) + "\n");
    ta.append("\n");
    tk = Toolkit.getDefaultToolkit();
    dim = tk.getBestCursorSize(icon.getIconWidth(), icon.getIconHeight());
    buff = new BufferedImage(dim.width, dim.height, BufferedImage.TYPE_INT_ARGB);
    icon.paintIcon(ta, buff.getGraphics(), 10, 10);
    repaint();
    dtde.dropComplete(true);
    return;
    System.out.println("Drop failed: " + dtde);
    dtde.rejectDrop();
    } catch (Exception e) {
    e.printStackTrace();
    dtde.rejectDrop();
    public static void main(String args[]) {
    new FileDrag();

  • JQuery drag and drop image order with save to database?

    We have a property image gallery on our website and a CMS that allows us to add/edit images in the gallery.
    Image file names are stored in a database table:
    imgID (int)
    propertyID (int)
    imgfilename (nvarchar)
    displayorder (int)
    Images are displayed in order of "displayorder" but we'd like to be able to drag and drop the order in our CMS and have this update the database table with the correct display order.
    We found this jQuery solution but it doesn't appear to work, although descriptively it's exactly what we're trying to acheive:
    http://halnesbitt.com/blog/2010/08/05/save-order-with-jquery-ui-sortable-and-aspaccess
    Can anyone advise a similar script or solution?  We're using Classic ASP and MSSQL.
    Thank you.
    NJ

    Hi,
    Not looking at any code you have an upload button for the video and an insert for the form. So both forms are independent of each other it looks like, thats why when you do one you only get that info and when you do the other you only get the other info. You should just make one form with the uploader included. Make one form with all the fields included (movie name, movie page, movie description, movie file) after the form is completed then select the file field and go to...
    Server Behaivoirs, Developer Toolbox, File upload, upload file. Follow the widgets.

  • Drag and Drop not working with spark HGroup with code

    Can anyone tell me why my HGroup won't fire the dragEnter dragDrop and DragOver events?
    Here is the sample code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.core.IUIComponent;
                import mx.events.DragEvent;
                import mx.managers.DragManager;
                private function dragEnterHandler(e:DragEvent):void {
                    DragManager.acceptDragDrop(e.currentTarget as IUIComponent);
                private function dragOverHandler(e:DragEvent):void {
                    DragManager.showFeedback(DragManager.COPY);
                //user drops src onto target, so re-parent the src to the target
                private function dragDropHandler(e:DragEvent):void {
                    var img:Image = e.dragInitiator as  Image;
                    var newImg:Image = new Image();
                    newImg.load(img.source);
                    var grp:HGroup = e.currentTarget as HGroup;
                    grp.addElement(newImg);
                private function mouseDownHandler(e:MouseEvent):void {
                    DragManager.doDrag(e.currentTarget as IUIComponent, null, e);
            ]]>
        </fx:Script>
        <s:layout>
            <s:HorizontalLayout />
        </s:layout>
        <s:Panel width="50%" height="100%" title="Drag me">
            <mx:Image source="http://www.google.com/intl/en_ALL/images/logo.gif" mouseDown="mouseDownHandler(event);" />
        </s:Panel>
        <s:Panel width="50%" height="100%" title="to Here">
            <s:HGroup width="100%" height="50%" dragEnter="dragEnterHandler(event);" dragDrop="dragDropHandler(event);"  dragOver="dragOverHandler(event);" />   
            <s:HGroup width="100%" height="50%" dragEnter="dragEnterHandler(event);" dragDrop="dragDropHandler(event);"  dragOver="dragOverHandler(event);" />   
        </s:Panel>
    </s:Application>

    Derek,IE11 is having some compatibility issues with the share point.Apart from IE11,it should work on IE10,9 and Firefox and chrome as well.
    Please check the links below that explains the issues with IE11 and the functionality of Drag and drop and limitations as-well.
    1.Since SharePoint 2013 fully support IE 32-bit version above 7, there might be compatibility issue with other browsers. I’d recommend you use IE 8,9,10 32-bit for optimal Performance.
    2. Open the same document library in Internet Explorer as this functions does not work with Firefox or Chrome by default
    3. Make sure the IE (Internet Explorer) Version should be 32-bit and not a 64-bit
    http://expertsharepoint.blogspot.de/2014/08/issues-with-sharepoint-2013-and.html
    http://expertsharepoint.blogspot.de/2013/12/how-to-upload-multiple-documents-in.html
    http://expertsharepoint.blogspot.de/2013/12/sharepoint-server-2013-drag-and-drop.html
    Anil Avula[Partner,MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

  • Drag and Drop not working with IE11,Firefox or Chrome on Windows 7 x64 SP1

    Hello,
     I am trying to use drag and drop on my system but it is not working. other's within my department have no issues, but they are using IE10. I also have SharePoint Designer 2013 installed.
    Any suggestions?
    Thanks,
    Derek

    Derek,IE11 is having some compatibility issues with the share point.Apart from IE11,it should work on IE10,9 and Firefox and chrome as well.
    Please check the links below that explains the issues with IE11 and the functionality of Drag and drop and limitations as-well.
    1.Since SharePoint 2013 fully support IE 32-bit version above 7, there might be compatibility issue with other browsers. I’d recommend you use IE 8,9,10 32-bit for optimal Performance.
    2. Open the same document library in Internet Explorer as this functions does not work with Firefox or Chrome by default
    3. Make sure the IE (Internet Explorer) Version should be 32-bit and not a 64-bit
    http://expertsharepoint.blogspot.de/2014/08/issues-with-sharepoint-2013-and.html
    http://expertsharepoint.blogspot.de/2013/12/how-to-upload-multiple-documents-in.html
    http://expertsharepoint.blogspot.de/2013/12/sharepoint-server-2013-drag-and-drop.html
    Anil Avula[Partner,MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

  • Can't drag and drop in Finder with trackpad or magic mouse

    I can't seem to drag and drop anthing in the Finder window since updating to Mavericks (10.9). I've tried changing all magic mouse and trackpad settings.  I can drag and drop windows and apps on the dock.  No sure what the issue is....any help is appreciated!

    Had the same problem. Reinstalled the software - all is well. Cured many ills with the initial installation - don't bother trying to play with permissions, etc. Just reinstall.
    Thank goodness this isn't Micro$oft or you'd have to sit in front of the computer to keep answering the "Okay to reboot" questions every time a chunk of code is installed.

  • Implementing drag and drop across components with drag image...

    Hey all,
    Finally got the hang of drag and drop. Not too hard, but a little time consuming. I found an article showing how to capture and drag a BufferedImage within a JTree. When you click and drag a node, it creates a BufferedImage of the node on screen and "ghosts" it a bit, which has a very appealing effect.
    However, when I try to drag this image to a JList component, it disappears. So I created the same affect in the JList component. Now you can drag the image from the tree to the list and vice versa. However, the problem is, the image does not "fly over" the borders of the two components (butted up against each other) with the mouse. The image seems to go under the borders, while the mouse floats above everything.
    What I would like to do is be able to drag the image all over the application, perhaps even the desktop in the case of a SDI application. I want to be able to see this image drag from my Java app over the Windows Explorer folder, just like how you can do that with Windows Explorer, dragging an image of the selected node into any app that supports the drop. I know we can handle the "transfer" data from explorer and vice versa, but how to be able to keep an image with the mouse?
    My best guess is somehow using the Glass pane, grabbing a ref to its BufferedImage (if that is even what is there), and drawing the dragged item in that pane. But, then, how will the image move over the desktop outside of the app, where a glass pane is not?
    Is there a way to draw on top of anything, anywhere, but still be able to redraw the background as the image moves with the mouse? There are times where the image may be big, so I don't want to have to capture the underlying screen as an image covering the size of the drag image to restore it as the drag image moves around.
    Thank you.

    We know cursors support some degree of transparence because they have shapes other than blocks.
    I've done some playing around with
    Toolkit.getDefaultToolkit().createCustomCursor(....);The sad news is, it seems that as soon as a pixel's alpha value is greater than 0, it automatically becomes 100% opaque.
    The best you can do, is to take your image, and divide it into a pixel-checkerboard, and set the alpha value of alternating pixels to 0.
    e.g.
    BufferedImage i = new BufferedImage(32, 32, BufferedImage.TYPE_INT_ARGB);
            int[] data = ((DataBufferInt)i.getRaster().getDataBuffer()).getData();
            boolean on = true;
            for (int z=0; z<data.length; z++)
                if (on)
                    data[z] = 0xffffffff;
                else
                    data[z] = 0x00000000;
                on = !on;
                if (z%32==0) on = !on;
            Cursor hazyWhite = Toolkit.getDefaultToolkit().createCustomCursor(i, new Point(0,0), "hw");

  • Drag and Drop not working with windows 8.1

    we using windows 8.1 for a few days now
    so we installed visual basic .net 2012 and starting our projects again we used in windows 7
    but now it seems that the drag and drop doesn't work in windows 8.1
    we only gets a forbidden icon when we drag it over the control
    please can someone tell us why windows 8.1 won't work with drag and drop
    we hope this can be fix in anyway because we don't like when our users use our programs
    and tell us that this point wont work in windows 8.1
    our code:
    Private Sub FlowLayoutPanel1_DragDrop(sender As Object, e As DragEventArgs) Handles FlowLayoutPanel1.DragDrop
    If (e.Data.GetDataPresent(DataFormats.FileDrop)) Then
    e.Data.GetData(DataFormats.FileDrop)
    End If
    End Sub
    Private Sub FlowLayoutPanel1_DragEnter(sender As Object, e As DragEventArgs) Handles FlowLayoutPanel1.DragEnter
    Try
    If (e.Data.GetDataPresent(DataFormats.FileDrop)) Then
    e.Effect = DragDropEffects.Copy
    Else
    e.Effect = DragDropEffects.None
    End If
    Catch ex As Exception
    Exit Sub
    End Try
    End Sub
    Thank you.
    Dummy
    p.s
    we also got help from social msdn
    here the topic who all answered.
    social
    mdsn

    Hi,
    Welcome posting in TechNet forum.
    Do you mean the drag and drop action of files within different application?
    We may take a try to disable the UAC settings and see if the drag and drop would work. And please note if we have UAC disabled, Windows Store APPs would be expected not going to work.
    For the coding edit stuff, I suggest we keep focus on the MSDN thread.
    Best regards
    Michael Shao
    TechNet Community Support

  • Drag and Drop from Table with Treebynestingtablecolumn

    Hi,
    I am using table UI element in Webdynpro ABAP.
    And I am showing data in tree format using element TreeByNestingTableColumnn.
    Now I tried to implement the Drag functionality for a nested table line and I face two problems:
    1. The requirement is to drag an item out of the table without selecting the reow before! I tried it (by implementing a dragable image etc.) but it seems that it is necessary to select the row first before being able to drag. The problem is that I don't use the property row selectable, so I can't select and therefore I cant drag, right?
    Is it possible to drag an item out of the table but not selecting it before?
    2. In the meanwhile I decided to use the property "row selectable". Now I am able to drag.
    BUT, if I drag a nested item (a child item) and drop it, then - instead of the expected data-reference of the selected item -  the data reference of the fathers node will be provided within wdevent.   Does anyone know why? and is my requiremnt solvable?
    Thanks and regards
    Oliver

    Hi Saravanan,
    thanks a lot for your answer. I was happy to hear that someone else also has the same curious problems than me
    In the meanwhile I was able to solve my requirement and I describe the solution here:
    - Important is how the table is defined:
       --> Set rowSelectable to 'true'
       --> Set selectionMode to 'none'
    - Insert a column. Insert as CellEditor an "Image". Mark the image as "isDragHandle". Now insert a DragSourceInfo.
      Take care on correct data binding.
    For any reason it works now With Treebynestingtablecolumn and without selecting a row, but by dragging the image.
    Best regards
    Oliver

  • Cannot scroll drop downs, or drag and drop files/folders with mouse

    I cannot scroll drop downs (I can click them, but I can't choose anything) or drag files or folders with the mouse or touch pad, but it works fine when I use my Wacom tablet. It's super frustrating. Help!

    P.S. I've narrowed the problem down to being related to the game Diablo III. If I restart my machine, it works fine again. Until I play Diablo. Totally lame.

  • Strange drag and drop email issue with Outlook 2010

    Has anyone experienced this? It only started happening recently. It may have something to do with an installation of the most recent Office 2010 service pack. Here's the scenario: Using Outlook 2010 professional Try dragging an email from the email list
    on the right into the list of folders on the left in order to file it When the drag crosses the email list to the folder list, the email drops into some random folder The drag operation picks up a random folder and now has a random folder attached to the drag
    In other words, the email disappears somewhere and is replaced by a folder in the drag operation. It's not a mouse button issue as this doesn't happen anywhere else on the system while dragging, only in Outlook. Any thoughts?
    my PC Techs http://www.mypctechs.com

    Hi
    Thank you for using
    Microsoft Office for IT Professionals Forums.
    From your description, we can follow these Method to troubleshoot.
    Method A
    Start outlook in Safe Mode, Press and hold the
    CTRL key, and then click Outlook program
    If the problem does not occur in the safe mode, this issue might be related to some third-party add-ins in the Outlook program, we can try to disable
    them.
    Method B
    We can try to create a new profile in Microsoft Office Outlook 2010 to test the issue, follow these steps:
    1.
    Exit Outlook.
    2.
    Go to Start > Control Panel, click or double-click Mail.
    3.
    Click Show Profiles. Choose Prompt for a profile to be used.
    4.
    Click Add.
    5.
    Type a name for the profile, and then click OK.
    6.
    Highlight the profile, and choose Properties. Then Email Accounts..., add your email account in the profile.
    7.
    Start Outlook, and choose this new profile.
    If this problem does not occur in the new Outlook profile, the old Outlook profile is corrupted. We can delete that and use a new Outlook profile.
    More information you can refer to this KB article:
    http://support.microsoft.com/kb/829918
    Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything
    I can do for you, please feel free to let me know.
    Best Regards, 
    William Zhou
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for
    TechNet Subscriber Support, contact
    [email protected]

  • [SOLVED] Thunar 1.6 doesn't drag-and-drop with the right mouse button

    Hallo all.
    It might be something I've done (though I did delete my ~/.config/Thunar directory before upgrading), but Thunar doesn't let me drag-and-drop with the right mouse button, thus stopping me from copying something instead of moving it, etc. Has anyone else had that too?
    Last edited by GordonGR (2012-12-28 14:34:20)

    Joel wrote:
    anonymous_user wrote:Is it supposed to be with the right-mouse button? I always thought drag and drop was done with the left button?
    Could be right-hand user
    Come on! Read what GordonGR wrote!
    Microsoft Windows, Nautilus, the Haiku Tracker, and probably many other file managers have a feature where, when you right-click or middle-click and drag an icon to a new location, a pop-up menu appears and asks what you'd like to do (Move, Copy, Link). I thought I used to use this feature in Thunar too but it seems to have stopped working in recent versions. Has anyone else had any experience with it?
    EDIT: Here's random blogger talking about the feature in an older version of Thunar: http://jeromeg.blog.free.fr/index.php?p … and-tricks So that's good, I wasn't just imagining the feature.
    Last edited by drcouzelis (2012-12-12 03:45:05)

  • Drag and Drop Labels with line interconnected

    Dear all,
    As before, I use java.awt.dnd objects and java.awt.datatransfer objects to help me to drag and drop some labels with right-click my mouse.
    Now I would like to left-click my mouse to draw a line between the two labels by pressing the left-click on label 1 and drag and drop to label 2. Then I would like to see a now line created betwwen label 1 and 2. I have an idea to addMouseListener and addMouseMotionListener on the labels to get the position of the labels and draw a line with the position. But I found that both right-click and left-click can trigger this event. Can I give some restriction on that so only left-click can trigger this event.
    Also I cannot do it successfully as I found that after I rewrite the paintComponent method, the older image cannot be cleared and make the screen become verbose. Do I missing something on rewrite the paintComponent method? Also do you have any other suggestion on the task of drawing a line between the 2 labels?
    Thanks a lot!
    Peter

    Of course you can select only left click events :
    You simply add a test like that in your Mouse(Motion)Listener's methods :
    if (SwingUtilities.isLeftMouseButton(aMouseEvent)) {
    I hope this helps,
    Denis

Maybe you are looking for