Results 1 to 2 of 2

Thread: [RESOLVED] Overlooking something on Drag/Drop

  1. #1

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Resolved [RESOLVED] Overlooking something on Drag/Drop

    I am dragging a control over a different control as part of a drag/drop operation. AllowDrop is set for both the dragged control and the drop target. There is a DragDrop handler for the drop target, but when I drop on the target, the handler is never called, and nothing happens.

    I expect that I am overlooking something simple, but, as might be expected, I can't see it.

    When I drag onto a different type of control, it is working correctly, and dragging to the control in question was once working correctly, but not anymore. I did make a bunch of changes, but the fundamental issue is that the dragdrop event is never raised for the control that is the drop target.

    What am I missing?
    My usual boring signature: Nothing

  2. #2

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: Overlooking something on Drag/Drop

    Nevermind, I figured it out. I had left the DragEnter event incomplete as a result of the changes I had made. While making the changes, I had deleted some code that was irrelevant, without recognizing that I had to replace it with something meaningful for the Drag/Drop event to even be raised.

    Drag and drop is an odd architecture.
    My usual boring signature: Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width