Re: MDIMain and Form Containting user control
- From: "Linq Adams via AccessMonster.com" <u28780@uwe>
- Date: Mon, 14 Jul 2008 14:11:20 GMT
Just out of curiosity, VB.net question on a newsgroup dedicated to MS Access!
NxDevel wrote:
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!
--
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000/2003
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-modules/200807/1
.
- Prev by Date: Re: Creating a recordset
- Next by Date: Median in Report
- Previous by thread: RE: MDIMain and Form Containting user control
- Next by thread: Median in Report
- Index(es):
Relevant Pages
|