Hi Nick.
>I have the following code, my only problem is how do I identify the nodekey?
>
>*cmdbuttonexpand
>.OleTreeView.nodes(.llnode).expanded = .t.
Since your NodeClick code set llNode to the parameter passed to that method, which is an object reference to the node itself, you should change this code to:
Thisform.llNode.Expanded = .T.
Doug