AV After Removing Final Image from AdvStringGrid?

Hi Bruno,


I've come across a bug in TAdvStringGrid. It gives an AV when the final image is removed and the object is subsequently destroyed.

Here's a video which explains it..

http://screencast.com/t/v1OyVd7aca

And here is the source code...

https://www.dropbox.com/s/8xya4m3937aidh6/Cell-Image.zip?dl=0

I'm using TAdvStringGrid version 7.4.7.2 and Delphi XE7 on Windows 10 64 bit,

Thanks,

Steve

FYI I've just upgraded to the latest version of AdvStringGrid (7.8.0.1) and the bug is still present.


- Steve

We traced & solved this issue. Next update will address this.
Note though that it is not necessary to remove the graphic in the form's destructor as the grid performs the cleanup itself already.

Thanks Bruno,


In may application I need this functionality to switch between "views" which use the same TAdvStringGrid.

- Steve