Board index » delphi » TlistView problem. - testlv.zip [01/01]

TlistView problem. - testlv.zip [01/01]

Any one welling to try to see if you got the same problem as I do.

Unzip the file into a directory, compile and run it. Click on the Open Button
to create a duplicate screen.  On either one, click on the click and drag to
create multiple copies.  Right click to delete some, then drag and drop items
from the other window.  Keep repeat that and you will be an error "Access
Address Violation" when you try to drop an item onto another form.  You won't
get this bug right away, it is intermitent.

I called Borland and they said that I was doing all wrong but couldn't offer
another solution.  For which I think the bug is in the VCL.  It seems like the
 bug occur while TListItems and TCustomListView tries to determine the
DropTarget or something like that.

If you can proof me wrong, please do.  If you found a way around it, please
let me know.

Thanks in advace.
BEGIN -- Cut Here -- cut here
begin 644 testlv.zip
<uuencoded_portion_removed>
H`'1E<W0O05!03$532T(N24-/4$L%!@`````%``4`-0$``/(6`````' ' '
`
end
END -- Cut Here -- cut here

 

Re:TlistView problem. - testlv.zip [01/01]


Quote
Leng Vang wrote:

> Any one welling to try to see if you got the same problem as I do.

> Unzip the file into a directory, compile and run it. Click on the Open Button
> to create a duplicate screen.  On either one, click on the click and drag to
> create multiple copies.  Right click to delete some, then drag and drop items
> from the other window.  Keep repeat that and you will be an error "Access
> Address Violation" when you try to drop an item onto another form.  You won't
> get this bug right away, it is intermitent.

I didnt really test the zip file, but it reminds me of a bug I
experienced too with the DragDrop event. The solution to this is to use
EndDrag ( from the object being dragged ) instead of DragDrop to
Listview. Thats from the top of my head, hope it will help you.

Yours

Ole ANdreas Grytdal
Circle Innovation

Other Threads