colored treeview text?

BlitzMax Forums/MaxGUI Module/colored treeview text?

slenkar(Posted 2009) [#1]
is it possible to change the color of the treeview node text?

I tried with setgadgetcolor and setgadgettextcolor but to no avail

also the icon parameter for addtreeviewnode accepts an Int instead of a pixmap...why?


rs22(Posted 2009) [#2]
For icons with a TreeView gadget, you have to set an iconstrip using SetGadgetIconStrip. You then specify the index of the icon you want to use in AddTreeViewNode.


slenkar(Posted 2009) [#3]
oh yeah I got it now thanks