
Status bar - panel text property
Since there can be only one MDI parent per app, just access the parent using
it's real name..
MDIParent.StatusBar1.Panels("Blah").Text = "Anything you want"
--
Ken Halter - MS-MVP-VB - Please keep it in the groups..
http://www.vbsight.com - http://www.vbsight.com/MultiColumn.htm
Quote:
> My problem as follows:
> I have a main MDI from with a status bar which includes some panels
> (visible). The main form shows up as the application starts. From the
> MDI form I call another form
> Example:
> dim NewForm as new Form
> NewForm.Show()
> Now I want the result of certain procedures to have effect on the text
> property of the status bar of the main form.
> Example:
> The text in the textbox of the NewForm to appear in one panel of the
> main form after the new form closes.
> I tried:
> dim NewMainform as New MainForm
> NewMainForm.StatusBarPanel1.text = me.textbox1.text
> me.Close()
> but it fails (without any error).
> Any ideas?