Board index » delphi » Adding TTreenode

Adding TTreenode

Hi,

does someone now how to add a TreeNode at the top of a Treeview (like the
desktop icon in the windows explorer)?

Thanks,

Henk

 

Re:Adding TTreenode


In article <86hisf$ml...@bornews.borland.com>,
  "Henk Spaan" <h...@spaan.com> wrote:

Quote
> Hi,

> does someone now how to add a TreeNode at the top of a Treeview (like
the
> desktop icon in the windows explorer)?

> Thanks,

> Henk

There is an instruction like :

MyTreeView.AddFirst( ... )

or
MyTreeView.AddFirstChild(...)

Check it on the Delphi's help.

Sorry, I don't remember the instruction right now.

Sent via Deja.com http://www.deja.com/
Before you buy.

Re:Adding TTreenode


Sorry for this stupid question. ShowRoot will do that.

Henk

Other Threads