• Welcome to PlanetSquires Forums.
 

SHIFT TAB

Started by Marc van Cauwenberghe, August 07, 2010, 01:09:31 PM

Previous topic - Next topic

Marc van Cauwenberghe

Hello,

Can anyone tell me how to trap SHIFT+TAB.

Thank you.

Marc

Paul Squires

Try this in the FF_PUMPHOOK:

(you could also test for the active Form/Control to see if you actually want to act on the Shift+Tab based on the logic of your program).



   Select Case Msg.message
   
      Case %WM_KEYDOWN
       
         If msg.wParam = %VK_TAB Then
            If (GetAsyncKeyState(%VK_SHIFT) And &H8000) <> 0 Then
               ? "Shift+TAB"
            End If
         End If

   End Select
     

Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Marc van Cauwenberghe

Thank you Paul. Just what I needed.

Marc