PxPlus User Forum

Twitter Twitter Twitter

Author Topic: How to get tree view branches to open programmatically  (Read 888 times)

Bob Sosbee

  • Member
  • **
  • Posts: 12
    • View Profile
How to get tree view branches to open programmatically
« 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.

Mike King

  • Diamond Member
  • *****
  • Posts: 3811
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: How to get tree view branches to open programmatically
« Reply #1 on: February 10, 2020, 11:49:49 PM »
 Bob

Check out the ‘expanded property.

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

Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com