I think I've found the solution. It's also from you to Sweaty Broham. I just have to set the WindowType property of my child forms to modal. That's it.
>
> Thanks again.Is that really a solution? Think about it. You call, or are called by, a client.
The info on that client is through some client form.
So you happily open that form, look up the client and then the client wants some information on a certain product.
You want to open the product form through the menu.... but it's not working, since the client form is modal thus locking up the menu.
So what you can do is use the
skip for option in the menu.
What I did is as follows:
I created a small prg called FormIsThereAlready
It looks whether any forms are on _screen and then skips through them to compare the name given in the skip for option in the menu with names of the available forms.
In the menu I have set the skip for option to FormIsAvailable("frmCloseTest")
That is the form.name property! So be sure not to have that the same in two different forms.

The option will be grayed out when the form runs, and is available when the form is closed.
It's all
in this zipfileHave fun.
Boudewijn Lutge®ink
My Blog is here