KeyPress

Rusty

Well-Known Member
Licensed User
Longtime User
I would like to be able to grab keypress information for controls placed within my Activity. In order to do this, I've had to change enabled = false on all controls so that the Activity_Keypress receives the keystrokes. However, I'd like to be able to have enabled controls displayed and still be able to view the keypress before the control(s) receive it. Is there a way to get keypress information for a control (such as EditText) before the key "arrives" within the control?
 

Rusty

Well-Known Member
Licensed User
Longtime User
Thanks, Erel.
I "simulated" it by creating EditText controls with Enabled=False and using the Activity_Keypress event to capture keystrokes. Is there a way to change the background color of a control that is enabled= false to another color while disabled?
 
Upvote 0
Top