如何轻松地重新排序 TabControl? [英] How to easily reorder TabControl?

查看:30
本文介绍了如何轻松地重新排序 TabControl?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 TabControl,我在 VS2005 设计器中设计了它,它有大约 7 个选项卡.

I have a TabControl which I have designed in the VS2005 designer that has about 7 tabs.

如何轻松切换标签的顺序?

How can I easily switch the order of the tabs around?

我匆忙在最后放了一个标签,但现在我想要在中间的某个位置.

I put one tab at the end in a rush, but now I want it somewhere in the middle.

推荐答案

在选项卡控件的属性中有一个 TabPages 集合.你应该能够在那里洗牌.只需点击 TabPages 旁边的省略号,就会出现一个对话框,允许您按顺序向上或向下移动每个.

In the properties of the tab control there's a TabPages collection. You should be able to shuffle them around in there. Just click the ellipses next to TabPages and a dialog will appear allowing you to move each one up or down in the order.

这篇关于如何轻松地重新排序 TabControl?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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