[lazarus] TListView bugs etc.

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Nov 12 08:12:40 EST 2002

On Tue, 12 Nov 2002 15:29:38 +0300
"Vasily I. Volchenko" <Vasily.Volchenko at mstu.edu.ru> wrote:

> Thanks for fixing bug of unreleased DCs. Unfortunately, you have
> implemented (yesterday's patch) a greater bug: if TListView contains
> more columns than 2, any (or only 80 %) Items.

Strange gtkclist. I didn't expect such an implementation.

> Add method results in
> access violation in strlen function of libc. I think that it is a very
> bad idea to linit colcount to 2. It seems that is due to only two
> Titles[] elements mentioned (former version contained for Count:=1 to
> 255, which now doesn't help). I haven't understand, what exactly is done
> in gtkobject.inc on lm_lv_additem (seems that it is just a wrapper to
> gtk functions, requirung pointer to all subitems array), but it seems
> that the following patch fixes this problem. 

You forgot to make Titles dynamic. Should work now.

> May be, I have a bad gtk
> (from RedHat 7.3). Besides, patch contains a bit of localization.

Thx. Applied.


More information about the Lazarus mailing list