Jean-Luc Arnaud
2018-10-01 10:08:46 UTC
Hi all,
I have an issue with Obj (As DragItem) in the DropObject event of a ListBox.
I didn't find no matching entry on the forum.
Before filling a FeedBack report, I'd like to know if it's a known bug,
and even if it's an actual bug!
Here is the problem:
I'm using 2 listboxes, one is the Source and the other the Target for
FolderItems.
Dragging a row from Source to Target is intended to copy Source
FolderITem in a Target folder.
So, when DropObject fires, the first thing I have to do is to verify
that the Target Folder is not Nil.
If so, using SelectFolderDialog, I ask the user to select a Target folder.
Doing that, Obj (that contains FolderItem(s) before calling
SelectFolderDialog, this has been verified) is niled.
When the Target folder isn't nil, all works as expected, before
SelectFolderDialog is not used.
Any idea or advice? Real bug or am I doing something wrong?
Many thanks
I have an issue with Obj (As DragItem) in the DropObject event of a ListBox.
I didn't find no matching entry on the forum.
Before filling a FeedBack report, I'd like to know if it's a known bug,
and even if it's an actual bug!
Here is the problem:
I'm using 2 listboxes, one is the Source and the other the Target for
FolderItems.
Dragging a row from Source to Target is intended to copy Source
FolderITem in a Target folder.
So, when DropObject fires, the first thing I have to do is to verify
that the Target Folder is not Nil.
If so, using SelectFolderDialog, I ask the user to select a Target folder.
Doing that, Obj (that contains FolderItem(s) before calling
SelectFolderDialog, this has been verified) is niled.
When the Target folder isn't nil, all works as expected, before
SelectFolderDialog is not used.
Any idea or advice? Real bug or am I doing something wrong?
Many thanks
--
Jean-Luc Arnaud
Jean-Luc Arnaud