Menu

#1 Unaccepted Drag-Drop loses objects

open
nobody
None
5
2002-07-26
2002-07-26
No

When doing a drag+drop (cut) into an objectlist, if the
objectlist's data-model rejects the addition, the
objects are completely deleted (they are already cut
from the source). Should do the work as:

success = ProcessEvent(AcceptObjectsEvent(...))
if success:
success = ProcessEvent(ObjectsCut(...))
if success:
success = ProcessEvent( ObjectsPaste(...))
if success:
AddPendingEvent( OverallNotification(...))

But that's seriously ugly looking.

Discussion