>Thanks! that works fine on my edit, but not on my insert on my toolbar?
>
>Wonder what i'm doing in my insert thats interfering?
Well, it would help if you said what you are doing.
Basically, calling a setfocus() on anything on a form triggers a couple of events; if the form is not visible, it may trigger form.show, and it will for sure trigger form.activate if the form is not active already. You can watch this in the debugger, but it will show you only those events which have some code; event logging may show more.
I've seen a form which was hidden, and some framework code called during the destroy() had a setfocus() in it, and I saw the form come visible again, and its .activate ran as well.