I have an SSTab control on my form with several tabs. I would like to disable the switching of tabs while a certain condition is true.
I have tried several things, none of which work correctly.
This worked fine on my laptop:
But not on my PC, which I thought was strange.Code:Private Sub tabMainForm_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If editMode > 0 Then MsgBox "Please finish entering information. Click Save or Cancel." End If 'End Sub
Any ideas?


Reply With Quote
