kaisersoze Posted May 6, 2004 Posted May 6, 2004 Hi, I have a MDI Parent form. MDI Parent form contains menus and statusbar with 2 panels (p1, p2). When clicked on a menu i am loading a child inside MDI parent. while doing any database process on any child forms, I need to show a text "Processing..." in the status bar panel of mdiparent form. Can any one tell me how to access the statusbarpanel which is in the parent from child form? Quote Note: I think as a programmer not as a human, so use my answer at your will
blabore Posted May 6, 2004 Posted May 6, 2004 You should be able to do something like this: CType(myMdiChildForm.MdiParent, MyMdiParentForm).MyStatusBar Where myMdiChildForm is an instance of any mdi child form (you could also use Me if you're calling this code from the child form), MyMdiParentForm is going to be the Name of you Mdi Parent Form Class, such as MainForm, and MyStatusBar is obviously the name of the status bar on your main form. Hope this helps, Ben Quote -Ben LaBore
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.