Makes the next tab active.
| VB | object.Next |
object
The Next method makes the next tab active.
It is not an error to use the Next method when the last tab is already active.
SftTabs1.Tabs.Next
End
End Sub
Private Sub PrevButton_Click()
SftTabs1.Tabs.Previous
End Sub
Private Sub NextButton_Click()
SftTabs1.Tabs.Next
End Sub
Private Sub SftTabs1_Switched()
' update next/previous button status
PrevButton.Enabled = (SftTabs1.Tabs.Current > 0)
NextButton.Enabled = (SftTabs1.Tabs.Current < SftTabs1.Tabs.Count - 1)
' here we always enable the tab used to show image statesSee Also SftTabsTabs Object | Object Hierarchy