PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Treeview'Expanded Property  (Read 1354 times)

James Zukowski

  • Diamond Member
  • *****
  • Posts: 308
    • View Profile
Treeview'Expanded Property
« 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
James Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services

Mike King

  • Diamond Member
  • *****
  • Posts: 3818
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: Treeview'Expanded Property
« Reply #1 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?
« Last Edit: February 20, 2020, 08:55:59 AM by Mike King »
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

James Zukowski

  • Diamond Member
  • *****
  • Posts: 308
    • View Profile
Re: Treeview'Expanded Property
« Reply #2 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.
James Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services