----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Sitaraman Message 2 in Discussion Hi If i understand u right then wat u basically want is that whenever you choose a menu item to open a form u dont want the user to use the menu item to open another instance of the same form If this is the case, 1) standard way would be to disable the menu the moment the user chooses it to open the form and then enable it when the child form is unloaded 2) another long-winded way of doing would be using the Controls.COntains method e.g. : parentformobj.controls(x).controls.contains(childformobject) parentformobj : mdiform x : the index of the mdiclient control in ur parent form childformobject : the SupplierForm 3) you can also do some looping thru the form.mdichildren array and then figure out whether the form is already loaded Option1 the one i would suggest. 2 and 3 are the ones u would choose if u have a really good reason to traverse the collection/arrays regards, sr regards, sr ----------------------------------------------------------- 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]
