Solved
Dear Jugga,
Thanks for the welcome and the consideration. I have solved the problem. At the end of the line declaring the Sub that handles the toolstripmenuitemclick, there was the addition Mybase.Mdichildactivate.
I guess I will learn to look more closely at these very long lines...