Hi Aaron,
If you want to let the tabcontrol fulfill the form, you can set its dock
property to Fill.
If you want to keep the tabcontrol's scale with the form, you should set
the tabcontrol's anchor property to "Top, Bottom, Left, Right", then the
tabcontrol will keep its propotion.
If you still have any questions, please feel free to let me know.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| From: "Aaron Ackerman" <
[email protected]>
| References: <
[email protected]>
<
[email protected]>
| Subject: Re: How do I expand a tabcontrol along with the form?
| Date: Thu, 16 Oct 2003 14:22:54 -0400
| Lines: 25
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <
[email protected]>
| Newsgroups:
microsoft.public.dotnet.general,microsoft.public.dotnet.languages.vb,microso
ft.public.dotnet.languages.vb.controls
| NNTP-Posting-Host: ric-64-83-27-134-serial-sta.t1.cavtel.net 64.83.27.134
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:147377
microsoft.public.dotnet.languages.vb.controls:2941
microsoft.public.dotnet.general:112158
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| Umm, no that works terribly I ment in code.
|
| | > Hi Aaron,
| >
| > Have you looked into the Anchor property? Anchor the Tab Control to
| all
| > sides and it will grow and shrink with the Form.
| >
| > You'll still have to manage the Controls on each Page, but they, in
| turn,
| > can be anchored to the Tab Pages.
| >
| > Generally - Anchor a Control to one side of its Container and it
will
| keep
| > its position relative to that side. Anchor the Control to both sides
(in a
| > given direction) and it will grow and shrink along with the Container.
| >
| > Regards,
| > Fergus
| >
| >
|
|
|