开发者

vb.net - tab control?

开发者_如何学JAVA

I have a Tab Control on a Winform. I want to add another page but I want it to appear between the current page 1 and page 2, basically I want to insert it. How can I do this?


If you are looking to do this from the deseigner:

  • Under the TabControl Properties, select TabPages. This will bring up the tab pages dialog.
  • Click the Add button. Should add a new tab page at the end.
  • Use the arrows to move the page to the position required.

If you wish to do this from code:

Have a look at TabControl.TabPages.Insert

Inserts a tab page into the collection at the specified index.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜