Forum > General

TTreeView.items.add (error)

(1/1)

itsme:
Hi.

I have a new Lazarus (night build). I can`t add new items to TTreeView component (from source).

{
  TreeView1.items.add(nil, 'text');
}

When I run it, my application crash :-) ACCES VIOLATION.

TTreeView, is not work yet, right?

Best Regards  :D

Marc:
Treeview works (look at the object inspector). Maybe it doesn't like the nit. Try debugging it.

Navigation

[0] Message Index

Go to full version