Re: Keeping controls centered
- From: "Frans Bouma [C# MVP]" <perseus.usenetNOSPAM@xxxxxxxxx>
- Date: Mon, 05 Feb 2007 00:34:56 -0800
Bruce Wood wrote:
On Feb 4, 2:07 am, "Frans Bouma [C# MVP]"
<perseus.usenetNOS...@xxxxxxxxx> wrote:
Chris Saunders wrote:
This is not actually a C# question but I'm not sure which
newsgroup is appropriate for this question. My apologies if I'm
being "off-topic".
I'm writing and application that has a group box that contains a
bunch of radio buttons and wish to keep this group box and its
buttons centered when the width of the window is changed. I do
know how to accomplish this using code but I wonder if there is a
simpler method? I'm using Visual Studio 2005 to write this
application.
Simply anchor it only to the bottom of the form while
pre-centering it in the designer. Then when you resize the window,
the groupbox will stay centered.
Really! I had no idea!
Does that work in 1.1 as well as 2.0? Or is it a WPF thing?
It works since .NET 1.0 :)
FB
--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
.
- References:
- Keeping controls centered
- From: Chris Saunders
- Re: Keeping controls centered
- From: Frans Bouma [C# MVP]
- Re: Keeping controls centered
- From: Bruce Wood
- Keeping controls centered
- Prev by Date: Re: Keeping controls centered
- Next by Date: Problema copia file
- Previous by thread: Re: Keeping controls centered
- Next by thread: Re: Keeping controls centered
- Index(es):
Relevant Pages
|