Problem with dragitem.additem

  1. 3 months ago

    Markus S

    Mar 8 Pre-Release Testers, Xojo Pro

    Hi;
    The follow code create a drag-object and runs fine:

    Dim d As New DragItem(Self, X, Y, Me.Width, Me.Height, dragImage)
    d.Picture = img1
    d.Drag

    when I add a additional image with AddItem so xojo don’t create a drag-object:

    Dim d As New DragItem(Self, X, Y, Me.Width, Me.Height, dragImage)
    d.Picture = img1
    d.AddItem(0, 0, Me.Width, Me.Height)
    d.Picture = img2
    d.Drag

    System: OSX 10.14.3.
    Xojo 2018r4
    This bug is only in x86 64-bit.

    regards
    Markus

  2. 6 weeks ago

    David A

    Apr 15 Pre-Release Testers, Xojo Pro

    I'm noticing exactly the same problem. I'm trying to drag multiple folderitems from a listbox and as soon as I add a second item via .AddItem, xojo fails to create the dragitem and nothing happens. If I set a cursor for the dragitem I do see that but it then causes the cursor to stay set to that cursor even after letting go of the mouse.

    I am also noting that this only happens when the Architecture is set to x86 64bit. Additem works fine in 32bit.

    Thanks for any update on this bug.

or Sign Up to reply!