By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,163 Members | 1,284 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,163 IT Pros & Developers. It's quick & easy.

remove/add panels in the status bar at run time

P: n/a
Hello all,

I did not find a hide/show methods for the statusbarpanel class. As a
work around I tried removing the panel and then add it back when I need
it. I can remove the panel with no problems. But when I try to add it,
I am getting an exception: Object already has a parent.

To remove the panel I am using the following statement:
Me.stbStatus.Panels.RemoveAt(3)

To add:
Me.stbStatus.Panels.Add(Me.StatusBarPanel2)
or
Me.stbStatus.Panels.Add(3,Me.StatusBarPanel2)

Any help is appreciated.

Ahmed

Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.