Hi,
Pls I'm trying to move across tabpages without clicking on the tabcontrols but by using a command button to move across tab controls[code=vb.NET]
Hi,
Pls I'm trying to move across tabpages without clicking on the tabcontrols but by using a command button to move across tab controls
Oebenezer
0
Newbie Poster
Recommended Answers
Jump to PostThis will keep moving through the tabs in order:
Public Class frmTab Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim idx As Integer = TabControl1.SelectedIndex + 1 If (idx >= TabControl1.TabCount) Then idx = 0 End If TabControl1.SelectedIndex = idx End Sub …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.