Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

Note: I think as a programmer not as a human, so use my answer at your will
Posted

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

-Ben LaBore

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...