TestKeyPressChar-NO-QT-Buttons.ring ### Char code is returned. The QT section is commented out
TestKeyPressChar-WITH-QT-Buttons.ring ### Char code NOT returned. The QT section is enable
Screen capture shows behaviour.
Question:
How can the Arrow Keys code be captured / returned when a program uses QT ?
-----------------------------------------------------
Code
# KeyPress Code: 16777234 = < left
# KeyPress Code: 16777235 = ^ up
# KeyPress Code: 16777237 = v down
# KeyPress Code: 16777236 = > right
Func pWork
myChar = myfilter.getkeycode()
win.setWindowTitle('KeyPress! : ' + myfilter.getkeycode() +" = "+ char(myChar) )
See "KeyPress Code: "+ myfilter.getkeycode() +" = "+ char(myChar) +nl
------------------------------------------
