Switch msg.action
debugprint(msg.key)
Case "OnKeyDown"
if msg.key = "TAB"
; doesn't work
elseif msg.key = "\t"
; doesn't work
elseif msg.key = "\009"
; doesn't work
endif
EndSwitch
How do I detect the TAB key being preseed if neither of the 3 options above work? Also I'd like to do SHIFT+TAB as well.
TAB Key
TAB Key
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com
Re: TAB Key
The following code works for me:
Code: Select all
Switch msg.action
Case "OnKeyDown"
If msg.key = " "; This needs to have 8 spaces
If IsKeyDown("RSHIFT")=True Or IsKeyDown("LSHIFT")=True
DebugPrint("SHIFT+TAB")
Else
DebugPrint("TAB")
EndIf
EndIf
EndSwitch