You can parent the TabControl by a panel instead of a form and then place
the panel wherever you want. For example:
this.Controls.Add(this.panel);
this.panel.Bounds = new Rectangle(10, 50, 220, 100);
this.panel.Controls.Add(this.tabControl);
Hope this helps.
Thank you,
Sergiy.
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: Zanna <
[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Subject: TabControl... always on top?
| Date: Fri, 26 Mar 2004 09:13:50 +0100
| Lines: 14
| Message-ID: <
[email protected]>
| NNTP-Posting-Host: omegaadsl2.interac.it (212.183.161.218)
| Mime-Version: 1.0
| Content-Type: text/plain; charset=us-ascii; format=flowed
| Content-Transfer-Encoding: 7bit
| X-Trace: news.uni-berlin.de 1080288839 74881817 I 212.183.161.218
([184808])
| User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5)
Gecko/20031007
| X-Accept-Language: en-us, en
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!omegaadsl2.interac.IT!not-fo
r-mail
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:49552
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Hi!
|
| I wonder if there is a way to get the tabcontrol not to be always
| anchored to the top of the form.
|
| I tryed also to put a panel to do as a placeolder but don't work
|
| I need the top of the form free and the TabControl on the bottom.
|
| Some way to do this?
|
| Thanks
|
|
|