Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help: How to change font in TreeView Control
Message
 
To
02/08/2000 03:47:06
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00399666
Message ID:
00399737
Views:
44
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform