Home All Groups Group Topic Archive Search About
Author
29 Jun 2005 7:25 AM
Sam
Hi,
How can I have a panel that would be on top of any other controls all
the time ?

Thx

Author
29 Jun 2005 7:42 AM
Armin Zingler
"Sam" <samuel.berthe***@voila.fr> schrieb
> Hi,
> How can I have a panel that would be on top of any other controls
> all the time ?

You wouldn't see all the other controls then, right?

You can set Dock=Fill and use "bring to front" in the context menu of the
designer or call BringToFront at runtime.

Armin
Author
29 Jun 2005 11:54 AM
Sam
yes thx
I've called bringtofront after adding all the other components and it
works fine :)
Author
29 Jun 2005 8:57 AM
Crouchie1998
Change the control's 'Z' order & make sure it's on top by validating the 'Z'
order

Crouchie1998
BA (HONS) MCP MCSE
Author
29 Jun 2005 9:17 AM
Sam
thanks but how do I do that ?
Author
29 Jun 2005 12:39 PM
Herfried K. Wagner [MVP]
"Sam" <samuel.berthe***@voila.fr> schrieb:
> thanks but how do I do that ?

.... by calling the control's 'BringToFront' method.

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