>Anyone with more experience with treeview (that's just about everybody <g>) figured out how to get a different action with a single click (CLICK or NODECLICK events) and still preserve the normal expand collapse behavior of the double-click? AFAIK both click and nodeclick will fire every time doubleclick does, making separate actions just about impossible without some very funky code.
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)
If ThisForm.lIgnoreClick
Return
EndIf
HTH
Caroline