PDA

View Full Version : Slide open the panel in the East/West/North/South regions programmatically



sj_tt6
2 Jan 2013, 4:22 PM
Hello,

I have a viewport with the border layout. Each region has a panel. The panels in North, South, East, and West regions are collapsed initially. In the Center region a panel has a form and buttons. What I want is the user clicks a button in the 'center' panel a panel in a region (East/West/North or South) slides out automatically instead of the user manually clicking on the tab. How can I do this?

Thank you for helping!

mitchellsimoens
4 Jan 2013, 8:24 AM
execute expand() on the component you want to expand.

sj_tt6
4 Jan 2013, 10:09 AM
Thank you, mitchellsimoens!