Statusbar

maxpic55

Newcomer
Joined
Dec 16, 2002
Messages
15
Hello,
this is my first post. Sorry for my English. I have a problem with a statusbar in a mdi form. I need to change the text in the panel in the Form1 that is a mdi form by another form2.
The question is:
Who can I change the text in the panel?
In a normal form the instruction is:
Form.StatusBar1.panel(index).text=string-text.

Tank you eveybody.

Maxpic55
 
If the Form2 is an mdi child, you can cast the parent form to the correct type to access the status bar:

Visual Basic:
DirectCast(Me.MDIParent, Form1).StatusBar1.Panels(1).Text
 
Last edited:
Back
Top