>>>Thanks Cetin.
>>>It's interesting that I managed to find documentation to the Node.Enabled property if it's not really there - maybe they took it out?
>>>
>>>From the TreeView help
>>>Add Method (Nodes Collection)
>>>
>>>Dim nodX As Node ' Declare the object variable.
>>>Dim I as Integer ' Declare a counter variable.
>>>For I = 1 to 4
>>> Set nodX = TreeView1.Nodes.Add(,,,"Node " & Cstr(i))
>>> ' Use the reference to set other properties, such as Enabled.
>>> nodX.Enabled = True
>>> ' Set image property to image 3 in an associated ImageList.
>>> nodX.ExpandedImage = 3
>>>Next I
>>>
>>
>>Caroline,
>>Where is this treeview help or sample (hoping really it's true).
>>With the help I can access there is no enabled property for node.
>>Cetin
>
>Cetin,
>I've always found the TreeView help a bit lacking as certain properties are there but are just not mentioned in the help ie the Nodes BackColor to name just one.
>
>The above I found in the standard help for the TreeView (Right Click on the control then select Help) by searching on enabled.
>
>But I guess that as it throws an error
its not really there :-)
Caroline,
I found it. Were looking to same help but didn't notice that code at bottom. FYI though the code is VB code it doesn't work in VB either :)
Cetin