Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding Properties to TreeView Node
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00220284
Message ID:
00220902
Vues:
26
Hi Eddie.

>ThisForm.OLEControl1.SelectedItem.AddProperty('cCaption')

AddProperty() is a method of VFP base classes. The TreeView control doesn't have such as method in any of its objects. You have a couple of alternatives (at least):

- use the Tag property of the node to contain the text you want

- create an array (or better, a collection) that "shadows" the nodes in the tree, and keep the additional properties there.

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform