如何更改选项卡控件的默认行为? [英] How do I change the default behaviour of tab control?
问题描述
如何更改选项卡控件的默认行为?
默认情况下,选项卡控件中的选项卡数量使得占用的总长度大于窗口长度时,两个箭头用于访问不再在视图中的选项卡的相反方向出现。我觉得很烦人的事实是两个箭头总是在选项卡控件的同一侧。我可以这样做,它们将在相反的一侧,因为它是在mozilla firefox中。我指定了什么标签控件样式。
使用钢筋会解决这个问题吗?
How do I change the default behaviour of tab control?
By default when the number of tabs in a tab control are such that the total length occupied is more than the window length, two arrows of opposite directio for accessing tabs that are no longer in view appear.What I find annoying is the fact that the two arrows are always at the same side of the tab control.What can I do so that they will be at opposite sides as it is in mozilla firefox.What tab control style do I specify.
Will using a rebar solve this problem?
推荐答案
有很多例子在这方面,你最终必须自己绘制(部分)控件。
绘制自己的标签 - 第二版 [ ^ ]
TabStrip Control [ ^ ]
TabStrips:Visual Studio 2005中的TabControl方式! [ ^ ]
Magic TabControl - VS.NET Style [ ^ ]
There are plenty of examples on this, in the end you will have to draw (parts of) the control by yourself.
Painting Your Own Tabs - Second Edition[^]
TabStrip Control[^]
TabStrips: A TabControl in the Visual Studio 2005 way![^]
Magic TabControl - VS.NET Style[^]
这篇关于如何更改选项卡控件的默认行为?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!