conflit with use of RawKeyUp message
Posted: Fri Feb 26, 2016 11:05 am
hello
this is a new problem for experts
I have a stack and on the card, I have many groups named "group_ER" composed with buttons / fields. when I click on a button of one of these groups , it opens a group named "menu A" in which we have buttons and one field. when the menu "menu A" opens, I force the focus on its field and then, directly we can use the numeric keyboard to enter data (if we want)
every things were Ok until some people asked me the possibility to open another menu (menu B) from a group "group_ER" with the used of the key "space" of the keyboard as soon as the cursor is above a group "gp_ER"
and then, I dont find a good solution :
when I put rawKeyDown message to catch space key in the script card, an testing if the mouse is above a group "gp_ER" when pressing space key, its opens the "menu_B" .... BUT impossible to use functionKey, escapeKey message (they are catch by the rawKeyUp handler) , and for others menu, the field doesn't word even I click inside
If I put rawKeyDown message in the group "gp_ER" , it doesn't work too
is there some one who help me to resolve this prob ?
Best regard
François
this is a new problem for experts
I have a stack and on the card, I have many groups named "group_ER" composed with buttons / fields. when I click on a button of one of these groups , it opens a group named "menu A" in which we have buttons and one field. when the menu "menu A" opens, I force the focus on its field and then, directly we can use the numeric keyboard to enter data (if we want)
every things were Ok until some people asked me the possibility to open another menu (menu B) from a group "group_ER" with the used of the key "space" of the keyboard as soon as the cursor is above a group "gp_ER"
and then, I dont find a good solution :
when I put rawKeyDown message to catch space key in the script card, an testing if the mouse is above a group "gp_ER" when pressing space key, its opens the "menu_B" .... BUT impossible to use functionKey, escapeKey message (they are catch by the rawKeyUp handler) , and for others menu, the field doesn't word even I click inside
If I put rawKeyDown message in the group "gp_ER" , it doesn't work too
is there some one who help me to resolve this prob ?
Best regard
François