babyekc
Jan 11th, 2008, 01:47 AM
Hey guys,
I got a simple form1, which has a button1. When i click button1, it then open another form, which is form2, by using ShowDialog method. When i close the form2, i set the focus to form1. But the focus remains in button1. even if i have another button2, which i click on it (no code), i supposed the focus is on button2, but it eventually goes back to button1. how is this suppose to be? the focus is remain to a particular button after ShowDialog is fired.
need help urgently. thanks.
I got a simple form1, which has a button1. When i click button1, it then open another form, which is form2, by using ShowDialog method. When i close the form2, i set the focus to form1. But the focus remains in button1. even if i have another button2, which i click on it (no code), i supposed the focus is on button2, but it eventually goes back to button1. how is this suppose to be? the focus is remain to a particular button after ShowDialog is fired.
need help urgently. thanks.