Help to get a window to lock focus
-
How do I get a form to lock focus to where the user cannot switch to the parent window without closing it first?
Y*Live Long And Prosper*Y
-
How do I get a form to lock focus to where the user cannot switch to the parent window without closing it first?
Y*Live Long And Prosper*Y
False Chicken wrote:
How do I get a form to lock focus to where the user cannot switch to the parent window without closing it first?
It can be Simply Done by ShowDialog() method.
Form frmNew = new Form2();
frmNew .ShowDialog();Hope this will help you :-D
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article
-
False Chicken wrote:
How do I get a form to lock focus to where the user cannot switch to the parent window without closing it first?
It can be Simply Done by ShowDialog() method.
Form frmNew = new Form2();
frmNew .ShowDialog();Hope this will help you :-D
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article
Worked like a charm! thanks:)
Y*Live Long And Prosper*Y