Freezing/disabling tabpage selectively

mozaharul

Active Member
Licensed User
Hi all,

I've some tabpages, depending upon condition of a control on the first tabpage is it possible to freeze/disable other tabpages ?


regards,
 

Rioven

Active Member
Licensed User
Longtime User
Hi mozaharul, You could try this...


Sub tbc1_selectionchanged(Index,"")

If tbc1.selectedindex=1 or ..other index..and..some other conditions.. Then
tbc1.selectedindex=0 'go back to previous selected tab
Msgbox("not allowed!'")
End If

End Sub
 
Last edited:
Top