Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview and SelectedItem being R/O
Message
De
03/10/2021 10:54:49
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
03/10/2021 08:39:54
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01682410
Message ID:
01682412
Vues:
55
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform