lottoman2000
Member
- Joined
- Mar 11, 2005
- Messages
- 6
- Programming Experience
- 5-10
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.
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.
Last edited: