Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help: How to change font in TreeView Control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00399666
Message ID:
00399737
Vues:
51
Daniel,

Use (I think - off the top of my head)
node.selected = .t.
node.ensurevisible
Cheers,

Andrew




>Hi Walter
> It's greate that I always get answer from you.
> The second way works by font.name (or size,bold...). But There's no font page on my treectl property sheet.
>
> Now I have another question: How can I expand a node and hightlight a subitem programatically. The reason for that:
>I want one of the child item got highlighed (as default) on load of the form. I tried to use NodeClick but it doesn't expand
>the parent and hightlight the subitem. Also I tried OleTreeCOntrol's expand but didn't work either (Maybe the parameter
>I passed in not right. But I have no document on that and don't know the syntax. This's the first time I use treeview)
>
>Thank you in advance.


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform