* * *

Author Topic: TTreeView.items.add (error)  (Read 1501 times)

itsme

  • Guest
TTreeView.items.add (error)
« on: May 28, 2005, 04:25:48 am »
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

  • Administrator
  • Hero Member
  • *
  • Posts: 2454
TTreeView.items.add (error)
« Reply #1 on: May 30, 2005, 10:57:26 am »
Treeview works (look at the object inspector). Maybe it doesn't like the nit. Try debugging it.
//--
{$I stdsig.inc}
//-Patches are always welcome at patch (at) dommelstein.net (please put the word "patch" in the subject)
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads