Remove folder icon on node

TeeTree VCL for Borland Delphi and C++ Builder.
Post Reply
Lenfors
Newbie
Newbie
Posts: 49
Joined: Thu Sep 20, 2007 12:00 am

Remove folder icon on node

Post by Lenfors » Thu Nov 12, 2015 9:35 pm

Hello!

When I add nodes to a TTree with

Result := Tree.AddRoot(DefaultText);

Or

Result := ParentNode.AddChild(DefaultText);

then the added nodes get a yellow folder Icon in front of them. How do I get rid of this Icon? I just want the textbox!?

Best regards, Mikael

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Remove folder icon on node

Post by Yeray » Fri Nov 13, 2015 5:00 pm

Hi,

You can assign TTreeNodeShape's ImageIndex:=tiNone.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply