PxPlus User Forum

Main Board => Discussions => Language => Topic started by: James Zukowski on February 19, 2020, 06:23:08 PM

Title: Treeview'Expanded Property
Post by: James Zukowski on February 19, 2020, 06:23:08 PM
This one is VERY wierd: I can expand/collapse a treeview list by setting ID'Expanded=value. However, when I try to read the value (Var=ID'Expanded), I get Error#88.

Any ideas?

PxPlus 13.10, Linux 5, WindX on Windows 10, *nthost/ntslave
Title: Re: Treeview'Expanded Property
Post by: Mike King on February 20, 2020, 08:54:22 AM
Did you set the 'item property first to identify which item in the list you want the expanded property for?
Title: Re: Treeview'Expanded Property
Post by: James Zukowski on February 20, 2020, 12:23:32 PM
That was it. Not having worked much with Treeviews, I presumed that the user double-clicking on an entry would have specified what I'm looking for.