KEY_Tab becomes KEY_ISO_LEFT_Tab when shift held
Steps to reproduce
1. Use FXEvent code to show what keyboard key was pressed as in the way
below.
long Frame::onKeyRelease(FXObject *sender, FXSelector, void *ptr) {
FXEvent* ev=(FXEvent*)ptr;
cout << ev->code << endl;
}
Expected results
Only one tab ev->code is going to be returned no matter what shift key
is active due to there being only one physical tab key available in the
keyboard that was used to detect tab presses when whichever shift is
held.
Actual results
With tab + shift pressed, ev->code is 65056 or KEY_ISO_Left_Tab=0xFE20.
Without shift, ev->code is 65289 or KEY_Tab=0xFF09.
Notes
fox-1.7.20.tar.gz (DEVELOPMENT).
Should a cross-platform workaround also look for KEY_3270_BackTab,
KEY_KP_Tab, and KEY_ISO_LEFT_Tab along with KEY_Tab when shift is held?
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users