简体   繁体   English

如何使用button.click事件返回到Tabitem

[英]How to use a button.click event to return to a tabitem

I'm using VB2010 and I want to be able to create a button.click event that will return the user to an open tabitem. 我正在使用VB2010,并且希望能够创建一个button.click事件,该事件将使用户返回到打开的Tabitem。 All my research is yielding information on how to create a closeable tab item, but that's not what I'm looking for. 我所有的研究都在提供有关如何创建可关闭标签页项的信息,但这不是我想要的。

Request the kind assistance of this community. 请求这个社区的帮助。 Hopefully, as I learn I can contribute. 希望我学习后能有所贡献。 Thanks. 谢谢。

您应该能够将TabControl的SelectedItem设置为希望激活的TabItem。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM