Information générale
Catégorie:
Contrôles ActiveX en VFP
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!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement