Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Properties to TreeView Node
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00220284
Message ID:
00220902
Views:
25
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform