-
How to show form on top
HI,
I have a form1, user enters info and clicks save, on the click event for this button.
I have another form, form2, that displays as my messagebox. form2 is modal.
When user clicks the OK button on the modal form I then want another form to show, form3, which has all of my grid data.
This all works fine except when the user clicks the OK button on form2, form2 closes and form1 receives the focus & form3 displays behind form1.
How do I make form3 display on top of form1?
After showing form3 I tried form3.BringToFront but that didn't work. Anyone have any suggestions?
Thanks,
Corinne
-
In the OK button , show form3 using ShowDialog property of the form . I dunno if this will work but as I imagine it should work .
-
Pirate,
That worked perfectly. Thanks so much.
Corinne