thanks for the immediate response! i greatly appreciate it.
but as i've said, the application has many forms.
lets say i have Form1 called mainForm and Form2 called subForm.
1. i start my application with mainForm being the first form.
2. i open subForm from mainForm and mainForm loses focus.
3. i get back to the mainForm by closing subForm by using a control from subForm
4. while in mainForm i open Windows Explorer (like pressing windowkey + e)
as my condition, i need to get back immediately to my application, so
5. i fired showDialog event on mainForm.
6. i open subForm again. this time, i can't get back to mainForm because i need to execute form.Close to mainForm before i can use the functions of subForm (because i used showDialog earlier).. but i CAN'T fire a form.Close command because the functions in mainForm MUST not be stopped.
any suggestions? Thanks
showDialog()
Heard of that?
at the moment..i presume ure opening the form using
replace that with
opening it in dialog mode, opens it as a modal window...which is probably summing up your requirements into one word :)
but that is only withing your application environment....not outside it!
cheers