Problem while capturing ALT key event in flex

一世执手 提交于 2019-12-12 04:25:02

问题


I need to enable alt-<key> selection semantics for some Buttons in my application. If I write KeyDownEventListener for the Button, its not getting triggered when I press ALT key in the keyboard. Is there any way to enable alt key semantics for the buttons?

Thanks in advance


回答1:


KeyboadEvent class has an altKey property that you can use to check if Alt key was held-down while the current key was pressed.



来源:https://stackoverflow.com/questions/1789609/problem-while-capturing-alt-key-event-in-flex

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!