-
How to get the key in an onChanging() event from an edittext
Hi there community. Again i am in need of your help. I am creating a script that mimics the typing inside an ‘edittext’ field. I have created the UI, and the code i am using is:
messageText.onChanging = function(){
//get the key pressed
keyArray[keyArray.length] = key.charCodeAt();
}I just want to save the key Unicode inside an array. I have searched the web for some function that could get me the key, but found nothing yet. I want to get every key at a time because it may involve some backspaces, and i can’t just get the messageText.text at the end.
Sorry, there were no replies found.