Regarding Auto hide feature for panel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can anyone suggest me how to design auto hide feature for a panel control. I
have a few controls in a panel. I want to auto hide them when user is not
working with them.

Thank you for you help in advance.

Aravind.
 
The way I did it with my application is I loaded all the controls into
the panel in the constructor and then as and when I needed them, I
would locate the control in the collection and bring it to the front.

e.g.

foreach( Control c in m_currentPanel.Controls )
{
if( c is PanelOne )
{
c.BringToFront();
c.Focus();
} etc...
}
 
Back
Top