Robert_Zenz
Well-known member
Hello.
I have a problem with a project, in which the login-form does not receive the focus on startup. I've defined a Splashscreen and the login-form as Startup form, but if I start my application the form stays in the back and does not receive the focus.
I already tried the following:
But still, the form does only get the focus if clicked.
Anybody any ideas?
Bobby
I have a problem with a project, in which the login-form does not receive the focus on startup. I've defined a Splashscreen and the login-form as Startup form, but if I start my application the form stays in the back and does not receive the focus.
I already tried the following:
VB.NET:
Me.Focus()
Me.Select()
AppActivate(Process.GetCurrentProcess.ID)
But still, the form does only get the focus if clicked.
Anybody any ideas?
Bobby