N
NxDevel
Hello,
I am having a problem with a MDI VB.net application.
The problem is if I have two forms loaded, lets call them Form A and Form B.
Form A is loaded first then Form B. Form B is a blank form that houses a
user control. From the user control When the user clicks on a find button it
launches a Search screen well call this Form C . When I select the correct
Item on Form C it fires off an event to tell the listening form who was
searched for and then closes. Form B captures the event and populates some
fields. This works great! The problem is that Form B gets hidden behind
Form A. Why did Form A come to the forefront when Form B was the form that
called Form C. And When Form C closes I expected Form B to be on top.
It used to work this way when Form B was just a form and not a form housing
a user control. Is there a setting that I have missed. I've tried setting
the parent of the user control to Form B. But that did not work.
Thank you!
I am having a problem with a MDI VB.net application.
The problem is if I have two forms loaded, lets call them Form A and Form B.
Form A is loaded first then Form B. Form B is a blank form that houses a
user control. From the user control When the user clicks on a find button it
launches a Search screen well call this Form C . When I select the correct
Item on Form C it fires off an event to tell the listening form who was
searched for and then closes. Form B captures the event and populates some
fields. This works great! The problem is that Form B gets hidden behind
Form A. Why did Form A come to the forefront when Form B was the form that
called Form C. And When Form C closes I expected Form B to be on top.
It used to work this way when Form B was just a form and not a form housing
a user control. Is there a setting that I have missed. I've tried setting
the parent of the user control to Form B. But that did not work.
Thank you!