maxpic55 Posted December 16, 2002 Posted December 16, 2002 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 Quote
*Gurus* divil Posted December 16, 2002 *Gurus* Posted December 16, 2002 (edited) If the Form2 is an mdi child, you can cast the parent form to the correct type to access the status bar: DirectCast(Me.MDIParent, Form1).StatusBar1.Panels(1).Text Edited December 16, 2002 by divil Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
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.