Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview SelectedItem assignment error
Message
 
À
01/03/2022 09:21:17
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01683702
Message ID:
01683704
Vues:
45
>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.

SelectedItem is not readonly property.
Maybe loNode is not a Node :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform