Let me get back to you.
>Hi all
>
>I want to move the focus back to the last control having focus in the form as soon as I click a node, +, - on the TreeView.
>
>I have a function myform.SetFocustoFirstControl() but I cannot put the following in the
>
>TreeView.Click()
>
DODEFAULT()
>
>THISFORM.SetFocusToFirstControl()
>
>Please advise. I don't mind if I can use my function to set focus to the first control, it does not have to compulsorily be the last control having focus, I just want the focus out of the TV after every click.
Imagination is more important than knowledge