Regarding Auto hide feature for panel

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.
 
E

Emma Middlebrook

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...
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top