PRB: Focus on the Tab Control Changes to an Inactive TabID: Q178469 
  | 
With the Microsoft Tabbed Dialog (tabctl32.ocx), focus may shift to a control on an inactive tab.
This problem may occur with the tabbed dialog when one of the tabs has a container control, such as a frame or picture control.
To work around this problem, disable the controls on inactive tabs so that
they will not be in the tab order. You can disable the controls in the
Click event of the tab control. For example:
   Private Sub SSTab1_Click(PreviousTab As Integer)
      Dim c As Control
      For Each c In Controls
         If (c.Container Is SSTab1) Then
            c.Enabled = (c.Left >= 0)
         End If
      Next
   End Sub Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
      Option Explicit
      Private Sub Text1_GotFocus()
         Debug.Print "Text1 GotFocus"
      End Sub
      Private Sub Text2_GotFocus()
         Debug.Print "Text2 GotFocus"
      End Sub
 Additional query words: 
tabctl32.ocx tab dialog tabstrip tab strip sstab Sheridan kbVBp500 
kbVBp600 kbVBp kbdsd kbDSupport kbControl 
Keywords          : 
Version           : 
Platform          : WINDOWS 
Issue type        : kbprb 
Last Reviewed: June 3, 1999