Problem with dragitem.additem

  1. 2 weeks 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

or Sign Up to reply!