471,350 Members | 1,711 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

Regarding Auto hide feature for panel

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.
Jan 31 '06 #1
1 3844
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...
}

Jan 31 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by Jerad Rose | last post: by
5 posts views Thread by dje | last post: by
4 posts views Thread by EdB | last post: by
1 post views Thread by shapper | last post: by
1 post views Thread by Greg Larsen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.