Regarding Auto hide feature for panel

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Aravind

    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.
  • Emma Middlebrook

    #2
    Re: Regarding Auto hide feature for panel

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

    Comment

    Working...