Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView - Programmatically collapse levels
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00899093
Message ID:
00903311
Views:
35
Marcia,
I googled to some of your articles (Search="COMCTL32 treeview color"). What I was looking for was a way to set the color of a node's text with the SP5 OCX (COMCTL.Treeview.1).

I glanced at a VB article that suggested a method with the Hwnd handle. Do you have any sources (or is it even possible) to do this wir SP5 OCX in VFP? SP 6 Treeview's have a node color property - and I was hoping you might be aware of a way to trick it SP 5!

Thanks



>Hello Jay.
>
>How do I programatically collapse levels for the TreeView control. It defaults to expanding all nodes, but I have enough data that I want to control what's expanded and what's collapsed when it first displays.
>
>Actually, it does not do this by default < s >. If it is expanding all the nodes when the tree instantiates, it is because there is code somewhere that is explicitly doing this.
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform