Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview and SelectedItem being R/O
Message
From
03/10/2021 10:54:49
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
03/10/2021 08:39:54
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01682410
Message ID:
01682412
Views:
54
>I have installed Thor, but when I attempt to start it I am get an error when the Treeview.SelectedItem is being assigned a Node (or Null). It appears the SelectedItem property is Read Only. I noticed that at sometime the SelectedItem must have been Read Write, but the version of the "MSComctlLib.TreeCtrl.2" control I have it is Not. I am not sure how to determine the version number of the Treeview, or if I need to update it.
>
>Does anyone have any suggestions on how to resolve this?

Off the top of my head, the node's .selected property needs to be set to .t., and the rest happens automatically (setting it to .f. for the previously selected node, updating gui). And the .SelectedItem seems to be a property without a real value, it's just an _access method which returns one.

But then it's been a while since I last messed with this, so I may be remembering this from some other thing which has such properties.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform