Remove folder icon on node

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

Hi,

You can assign TTreeNodeShape’s ImageIndex:=tiNone.