Docking panels, one at top and other at left

  • Thread starter Thread starter Ronchese
  • Start date Start date
R

Ronchese

Hi All,

I 'm doing a form that have two dockable panels, one at top and other at
left (for sample).

The user can double-clicks the panels and they become floating, which
double-clicked again, come back to dock.

The problem is, according with the re-dock order, the panels accommodate
themselves in different forms. I need the panels
be dockable this form: the top panel must always accommodate in full area
(like toolbars). And the left panel always accommodate
the remain area of the winform.

How can I force that?

Thx in advance.

[]s
Cesar
 
Ronchese said:
I 'm doing a form that have two dockable panels, one at top and other at
left (for sample).

The user can double-clicks the panels and they become floating, which
double-clicked again, come back to dock.

The problem is, according with the re-dock order, the panels accommodate
themselves in different forms. I need the panels
be dockable this form: the top panel must always accommodate in full area
(like toolbars). And the left panel always accommodate
the remain area of the winform.

Docking order is determined by the controls' Z-index. You can change a
control's Z-index by calling its 'BringToFront' or 'SendToBack' methods.
 
That works! Thanks.

[]s
Cesar


Ronchese said:
I 'm doing a form that have two dockable panels, one at top and other at
left (for sample).

The user can double-clicks the panels and they become floating, which
double-clicked again, come back to dock.

The problem is, according with the re-dock order, the panels accommodate
themselves in different forms. I need the panels
be dockable this form: the top panel must always accommodate in full area
(like toolbars). And the left panel always accommodate
the remain area of the winform.

Docking order is determined by the controls' Z-index. You can change a
control's Z-index by calling its 'BringToFront' or 'SendToBack' methods.
 

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

Back
Top