Trying to find away to change a Node on a Tree View, background colour. Using the Bstructu/_Structure pattern.
I tried editing the VB Source Code: : Bstructu/_Structure.UI.TreeGrid.Scripts.TreeView_AddChild by added this line of Code
Node.BackColor = vbBlue
But I get an error the message Object doesn't support this property or method: 'Node.BackColor'
Another idea I have is maybe to use the .Net Tree View, but not sure how to get Plex to use it.
Any idea's how I can do this would be helpful.
i always refer to The Treeview ActiveX control - the basics for help. And your problem is Bstructu/_Structure.UI.TreeGrid.Scripts.TreeView is still using Version5 which does not support what you want. I have upgraded the treeviews activex in stellatools to version6. Nice pattern thou Bstructu/_Structure.UI.TreeGrid.Scripts.TreeView which I recently imported to the stellatools group model pattern.
How to upgrade?, well if you look at Function: ACTIVE/Animation and Function: ACTIVE/Animation 6 you will get the idea. To test you can get version6 to do what you want in this instance why don't you set TreeView1 to exist NO then add new treeview activex to the panel remembering to set contro name to TreeView1
Thank you George, this is exactly what I am looking for. There is surprisingly very little documentation on this control, and I have been struggle for about a week on this small issue.
your solution works well.