PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: Bob Sosbee on February 10, 2020, 06:38:57 PM

Title: How to get tree view branches to open programmatically
Post by: Bob Sosbee on February 10, 2020, 06:38:57 PM
Along with my other question about color, is there a a way to get the tree view to open the branches and leaves after or during display?

By default, we only get the root:

/foo

What I'd like to do is based on if the line is checked, break out the branches
/foo/fighter
/foo/fighter/soldier
/foo/fool

Looking through the documentation, I don't see a way to do this.  Knowing Mike, there has to be a way, I'm just not seeing it.
Title: Re: How to get tree view branches to open programmatically
Post by: Mike King on February 10, 2020, 11:49:49 PM
 Bob

Check out the ‘expanded property.

https://manual.pvxplus.com/page/properties/expanded.htm