Page 1 of 1

Remove folder icon on node

Posted: Thu Nov 12, 2015 9:35 pm
by 10546756
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

Re: Remove folder icon on node

Posted: Fri Nov 13, 2015 5:00 pm
by yeray
Hi,

You can assign TTreeNodeShape's ImageIndex:=tiNone.