-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: dotnet_ramu
Message 1 in Discussion

hi,   In MDI Applicaton how do i contol the instance of the child to a single instance 
I have created a MDI Parent by setting the IsMdiContainer Property to True. For MDI 
Child forms, in MDI Parent form either in the command button click event or menu click 
event i have created the instance of the Child From like  dim frmChild1 as new Form2
frmChild1 .MdiParent = Me
frmChild1 .Show()   this is making form2 as MDI Child fine. But the Problem is if  I 
click the button or menu 10 times for example, 10 instances of  the form2 is created 
in turn 10 Same MDI Child Forms. How do I check the instance of the form if it is 
already existing? and if it exists then only activate that form? I do not want to show 
the form as modal ie. form2.showdialog   help me

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to