Change The Focus from Forms
Posted on 2002-06-05
I'm developing an application but i've got the following problem:
This is the cenario:
1. You open the application and you get a Splash Screen,
(Let's call it SpashForm)
2. It then goes to another form called PasswordDlg.
3. When you enter the right Password, it goes to the main form.
(The Problem Comes here)
4. From the main form you minimize to the TRAY, which contains a Popup menu with Open and Exit.
Now when you click on open i want the PasswordDlg form to come out and ask you for the Password again....and so on..
My Problem is that the PasswordDlg form shows up but cannot write on it, because it is not focused.
What can i do to make it work please?