Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview SelectedItem assignment error
Message
From
01/03/2022 09:21:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Treeview SelectedItem assignment error
Miscellaneous
Thread ID:
01683702
Message ID:
01683702
Views:
46
Several tools in Thor use the TreeView control, but when opened they report an error when a line of .oTree.SelectedItem = loNode (or something similar) is encountered. It appears that the SelectedItem property is read-only. I think I may have the wrong version of the COM object installed. But every means I have investigated indicates it is the most current.

Any suggestions would be welcome.

P.S.
I can fix the problem by selecting the Treeview node itself. Then the SelectedItem property will be as expected. But I prefer not to have to edit the Thor tools source code.

Thanks in nadvance.
Greg Reichert
Next
Reply
Map
View

Click here to load this message in the networking platform