>Thanks, Paul!
>
>Seems I didn't really know what I wanted to know that night < g >. Now I remember what I was wondering about: It just irritated me, that there was the same code in all these buttons - and why the form doesn't check this itself ... But either way is ok. It was very very late that night ... So you deserve 3 stars :)
>
Well, remember that if someone clicks on a toolbar button the form doesn't lose focus (since the toolbar never "receives" focus). It has to be set in the buttons, not in the form.