The problem is that I can't close a form if there is a messagebox displayed
on form.
Therefore, if there is a messagebox on the form I don't close the form.
But I don't know a correct way to know if a messagebox is displayed and
moreover I can't use a panel.
I hope to have cleared up better the problem.
"Cor Ligthert" <no************@planet.nl> wrote in message
news:u8**************@TK2MSFTNGP14.phx.gbl...
Ital,
A messagebox is itself a form, so cannot be displayed on a form.
You can however use a panel to fake that.
I hope this helps?
Cor