Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with TreeView Control
Message
From
09/02/1999 17:22:13
Kenneth Downs
Secure Data Software, Inc.
New York, United States
 
 
To
09/02/1999 16:07:44
Steve Summers
Pima County Superior Court
Tucson, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00184965
Message ID:
00185720
Views:
19
Steve,

When the TreeView loses focus, the highlight is gone.

There is a property that you can set that will allow the highlight to still be visible when the TreeView loses focus, although it's default background color is then grey instead of blue. I don't have it in front of me, but I think it's self evident when you bring up the property sheet (the ActiveX property sheet, not the VFP property sheet) and know that you're looking for it.

Treeviews can be pretty nice, but don't ever write code that does things like:

oNode= MyForm.MyTreeView.SomeNode
DO WHILE blah blah
oNode = oNode.Next
ENDDO

You will get the dreaded C5 error plus hanging forms if you do that. Just something we figured out on another thread last week.

Hope this helps!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform