Set the TabControl's Dock property to DockStyle.Fill

Jacob A. Grass


> -----Original Message-----
> From: Slavin, Sean [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 23, 2002 4:16 PM
> To: [EMAIL PROTECTED]
> Subject: [DOTNET] Control size in a form
> 
> 
> I've got a resize problem that I'm hoping some of you know how to fix.
> 
> I'm building a MDI desktop application in C#. In one of the MDI child
> windows, I have a tab control that I'd like to be the same 
> size as it's
> parent window. How do you determine the useable region inside 
> a window?
> What's the best way to have the control resize itself when the window
> resizes?
> 
> Thanks in advance
> 
> 8)
> sean
> 
> You can read messages from the DOTNET archive, unsubscribe 
> from DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.
> 

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to