Ctrl+Tab Problem

Captain Chaos

Registered User.
Local time
Today, 07:37
Joined
Jul 7, 2003
Messages
26
It seems you can use ctrl+Tab to step through the pages on a tab control and bypass normal events. Is there a way to stop this?
 
Captain,

Code:
Private Sub YourTabControl_KeyDown(KeyCode As Integer, Shift As Integer)
   If KeyCode = 9 And Shift = 2 Then
      KeyCode = 0
      Shift = 0
   End If
End Sub

Wayne
 
Ctrl + Tab under control

Thanks for that. My problem resolved after adding the code and setting key preview to yes
 

Users who are viewing this thread

Back
Top Bottom