PC Review


Reply
Thread Tools Rate Thread

Docking panels, one at top and other at left

 
 
Ronchese
Guest
Posts: n/a
 
      27th Mar 2005
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


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      27th Mar 2005
"Ronchese" <(E-Mail Removed)> schrieb:
> 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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

 
Reply With Quote
 
Cesar Ronchese
Guest
Posts: n/a
 
      28th Mar 2005
That works! Thanks.

[]s
Cesar


"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
"Ronchese" <(E-Mail Removed)> schrieb:
> 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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Docking Panels In C# shahoo Microsoft C# .NET 3 28th Aug 2007 11:08 AM
Collapsable / Docking Panels t f Microsoft C# .NET 1 9th Feb 2007 08:18 PM
Docking Panels with Titlebars Joe Microsoft C# .NET 1 20th Apr 2006 12:30 AM
Docking Panels Andrew Ducker Microsoft C# .NET 0 4th Jul 2005 11:35 AM
docking and panels Eric Newton Microsoft Dot NET Framework Forms 2 23rd Dec 2003 04:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:51 PM.