0

hi,

i have a problem with my form
so i have a form with windowstate = maximized
now there is a button in that form that if i click on, a new form will be opened.
so the problem is that
if the new form has been opened and i click on the first form, the first form will come to front and the second form(that was opened) would go to back.
can anyone tell me how to create the first something that if i click on it, it woouldn't send a new form to back.
i have this code but i think it is completely wrong.

For Each n As Form In Application.OpenForms
            n.SendToBack = False
        Next

any help will be appreciated

3
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by saurabh.verma
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.