Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Could you explain a little more about your number 2 line? Is that supposed
to make any parent node bold if it contains child nodes? How would I use that? Which event would I put that in? "st" wrote: "Jonathan Brown" сообщил/сообщила в новостях следующее: ... I'm trying to use a Treeview control. I'd like to have all child nodes be automatically unchecked if a if I uncheck a parent node. Also, is there a way to specify that if a node contains child nodes it'll automatically be bold? 1. You need to iterate the collection of children of the node being unchecked and uncheck each of them individually. 2. Yes, of course. 'Or' TVIS_BOLD constant to item style when adding it's children. Check Object Browser ([F2] key in VB) to see VB equivalents of TVM_SETITEM message (probably some method of TreeNode(?) object) and TVIS_BOLD constant (=&h10=16) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I add nodes to child nodes of a radial diagram? | Excel Programming | |||
Get only child nodes? | Excel Programming | |||
delete a node in treeview | Excel Programming | |||
treeview add nodes | Excel Programming | |||
TreeView: add more than one node to nodes collection | Excel Programming |