EditField Not Receiving Input From "0" Key
I have two EditFeilds that need numeric input. The issue is that 开发者_如何学JAVAthat zero does not seem to work in any simulator simulating a handset with a hardware keyboard.
Both EditFields are initialized with:
private EditField editField = new EditField( EditField.FILTER_REAL_NUMERIC );
I am I right in assuming that the BB OS should be taking care of the input type. The EditFields need the ability to enter decimal points (but not math operators). I know that the key press on the 0 key is getting caught, since I can print out the key code to the console (but that only works when debugging).
Could this be just a simulator issue?
Mike, I can not reproduce your issue on a range of simulators. What simulator do you use? Do you subclass from EditField
or use the EditField
class directly?
精彩评论