I need to insert a number field into my UI. So I need to check the key events on a text field in order to check whether the input character is a number. I created a class by extending TextField. If there is a method in TextField class which handles keyEvents, i can simply overide that method with suits to number field. Any ideas?
Thanks
Combined BaiJiFeiLong and AJAY PRAKASH solution to support decimal inputs