Re: GroupBox client area?
- From: Joergen Bech <jbech<NOSPAM>@<NOSPAM>post1.tele.dk>
- Date: Sat, 13 Jan 2007 19:59:42 +0100
Thank you. Knew it was simple.
I went with another container control (for other reasons), but
this will come in useful later.
/JB
On Thu, 11 Jan 2007 14:38:25 +0100, "Mike Powell"
<michael@xxxxxxxxxxxx> wrote:
Hi Joergen,
you need to use the GroupBox.DisplayRectangle, this is the area that is used
to display the various controls
Mike Powell
www.ramuseco.com
"Joergen Bech @ post1.tele.dk>" <jbech<NOSPAMNOSPAM> wrote in message
news:avaqp21da68hnbb7k8ds19icshchhsdpm5@xxxxxxxxxx
I am trying to create GroupBox controls and add controls
to those dynamically, but how do I find the *real* "client"
rectangle area of a GroupBox control so I can position
child controls correctly?
As far as I can tell, the ClientRectangle property includes
the area where the groupbox border and caption are drawn :(
Any ideas? I am sure I am missing something simple here.
TIA,
Joergen Bech
.
- References:
- GroupBox client area?
- From: Joergen Bech
- Re: GroupBox client area?
- From: Mike Powell
- GroupBox client area?
- Prev by Date: UserControl and TextChanged event
- Next by Date: Hide a property from a property grid at runtime.
- Previous by thread: Re: GroupBox client area?
- Next by thread: Are Where DataGridView Column Width Limitations?
- Index(es):
Relevant Pages
|