>>Expand is an event that occurs when a node is expanded. It is not a method to Expand a specified node.
>
>True, I didn't see it that way.
>
>
>>Try:
>>THISFORM.MenuTree.Nodes(nNodeKey).expanded = .T.
>
>I found the EXPANDED property in the help file. The example show a numeric value for the node.
Nodes(1).expanded = .T. When I said KEY I meant the KEY I gave it when I added it. i.e. ABA01
>
>How could I now find this numeric value based on the KEY I gave it?
Nodes() is a collection that will take a numeric value or the character Key expression and return the corresponding node. You can use your Key value.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao