标签控件.. [英] Tab Controls..

查看:77
本文介绍了标签控件..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在Windows窗体上有两个Tab控件..一个带有Tabs on

顶部和另一个带Tabs的一面......我希望它们都占据

表格的整个区域,但我需要显示两个

的标签标题..在任何时候......我如何做到这一点?


也可以一个标签控件在顶部和侧面有标签标题..同时

时间?..这可能很容易解决这个问题:-)


谢谢

Vijay

I am looking to have 2 Tab Controls on a Windows Forms.. One with Tabs on
Top and another with Tabs on the side... I want them both to occupy the
entire area of the form, but I need the Tab Headers to be visible for both
of them .. at all times... How do I accomplish this?

Also can One Tab control have Tab Headers on Top and Side.. at the same
time?..That might solve this problem easily :-)

Thanks
Vijay

推荐答案

*" VJ" < 6 ******** @ yahoo.com> scripsit:
* "VJ" <vi********@yahoo.com> scripsit:
我希望在Windows窗体上有2个Tab控件。一个带有选项卡上的
顶部和另一个带有选项卡的侧面...我希望它们都占用
表格的整个区域,但是我需要Tab Headers才能看到它们的任何时候......我怎么做到这一点?

一个标签控件可以在顶部和侧面有标签标题..在同一时间吗?..这可能很容易解决这个问题: - )
I am looking to have 2 Tab Controls on a Windows Forms.. One with Tabs on
Top and another with Tabs on the side... I want them both to occupy the
entire area of the form, but I need the Tab Headers to be visible for both
of them .. at all times... How do I accomplish this?

Also can One Tab control have Tab Headers on Top and Side.. at the same
time?..That might solve this problem easily :-)




Set tabcontrol''''对齐''属性为值<> ''Top''然后

将其重置为''Top''。如果需要,这将显示多行中的标签。


-

Herfried K. Wagner [MVP]

<网址:http://dotnet.mvps.org/>



Set the tabcontrol''s ''Alignment'' property to a value <> ''Top'' and then
reset it to ''Top''. This will show the tabs in multiple rows if required.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


是的,我得到它的部分..但我不会看到顶部和侧面标签在

的同时?或者我错过了什么?


Vijay


" Herfried K 。瓦格纳[MVP]" <喜*************** @ gmx.at>在消息中写道

news:2k ************ @ uni-berlin.de ...
Yea that part I get it.. But I won''t have the Top and Side tabs visible at
the same time?.. Or did I miss something?

Vijay

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2k************@uni-berlin.de...
*" VJ" < 6 ******** @ yahoo.com> scripsit:
* "VJ" <vi********@yahoo.com> scripsit:
我希望在Windows窗体上有2个Tab控件..一个带有Tabs
在顶部,另一个带有Tabs在旁边......我希望它们都占用
表格的整个区域,但是我需要看到标题标题,以及
这两个标题......在任何时候......我如何做到这一点?

可以使用一个选项卡控件在顶部和侧面有标签页...同时
时间?..这可能很容易解决这个问题: - )
I am looking to have 2 Tab Controls on a Windows Forms.. One with Tabs on Top and another with Tabs on the side... I want them both to occupy the
entire area of the form, but I need the Tab Headers to be visible for both of them .. at all times... How do I accomplish this?

Also can One Tab control have Tab Headers on Top and Side.. at the same
time?..That might solve this problem easily :-)



设置tabcontrol'' s''对齐''属性为值<> ''Top''然后
将其重置为''Top''。如果需要,这将显示多行中的选项卡。

-
Herfried K. Wagner [MVP]
< URL:http://dotnet.mvps.org/ >



Set the tabcontrol''s ''Alignment'' property to a value <> ''Top'' and then
reset it to ''Top''. This will show the tabs in multiple rows if required.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>



*" VJ" < 6 ******** @ yahoo.com> scripsit:
* "VJ" <vi********@yahoo.com> scripsit:
是的,我得到它的部分..但我不会同时在
上看到顶部和侧面标签?..或者我错过了什么?
Yea that part I get it.. But I won''t have the Top and Side tabs visible at
the same time?.. Or did I miss something?




AFAIK,不支持。


-

Herfried K. Wagner [ MVP]

< URL:http://dotnet.mvps.org/>



AFAIK, that''s not supported.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


这篇关于标签控件..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆