[lazarus] Bug of TListView
Vasily I. Volchenko
Vasily.Volchenko at mstu.edu.ru
Fri Nov 8 10:49:55 EST 2002
As it was said, my program generates a lot of unreleased DCs. But
TListView seems to do so anyway.
I tested it the following way: form with listview, button. bitbtn and
imagelist.
On creation: imagelist loads bitmap from fitbtn (kind=abort). Then on
button click an item with image is added.
Each image occupies 1 unreleased dc and 6 gdiobjects (as I remember).
Without images all works OK.
Besides it seems that DCs aren't freed automatically (just warned).
More information about the Lazarus
mailing list