Hi.

I´m wrinting on a programm thats mostly working in the background, but on some events it shall pop up.
I´m currently usiong the following code to do this:

Form1.Visible = True
Form1.SetFocus

But sometimes the window only appears the back behind other windows.

Does anyone know a solution?

Thank you