Hello all,
Basically I have a tabbed panel with 2 panels and a variable that controls which set of controls is shown by the tabs. If the user tries to move to an unauthorized tab I want that to be pretty much denied and reversed. The below code is pretty simple, am I misunderstanding this or is this a bug? Thanks!
Sub PanelChanged() Handles PanelChanged
If(panelMode=0) Then
Me.SelectedPanelIndex=0
Else
Me.SelectedPanelIndex=1
End
End Sub
2 posts - 2 participants