>Ray,
>I just set a flag in the Expand and Collapse to say that it was done then ignore that in the click ie.
>
>Lparameters Node
>
>ThisForm.lIgnoreClick = .T.
>DoDefault(Node)
>
>* Click method
>*-- Ignore the click as it was used to Expand/Collapse a node.
>If ThisForm.lIgnoreClick
> Return
>EndIf
>
>HTH
I was a little skeptical on this because it depends on the Expand/Collapse events firing _before_ the click. But I tried it and it does appear to work. Unfortunately, it doesn't solve my problem, because I have code in the dblclick that adds nodes (expands) on-the-fly, and I can't seem to get around the fact that the click always fires on the first click of a double-click. I finally gave up and added a command button to the form.
Thanks for your suggestion; I'll probably use it in the future.
Ray Roper