It was buggy... Because message was sent with nil instead of pointer to # of last item. But this nil was used in gtkobject.inc . So, Items.Add could not work. I failed to fix it bu my own (when I fixed nil, error happened on form closing). Is it fixed?