Hello,
Using
SmartClient Version: v8.3p_2013-04-19/PowerEdition Deployment (built 2013-04-19)
I have the following code which works fine for "a-zA-Z" however it has strKeyName = null when the user types in a "-".
Why is this? And now can I get the dash. Looking for the mask that must be defaulting somewhere.
Thanks,
Evan
KeyUpHandler keyUpHandler = new KeyUpHandler() {
@Override
public void onKeyUp(KeyUpEvent event) {
String strKeyName = event.getKeyName();
handleTextItemKeyUp(strKeyName);
}
};
textItem.addKeyUpHandler(keyUpHandler);
Using
SmartClient Version: v8.3p_2013-04-19/PowerEdition Deployment (built 2013-04-19)
I have the following code which works fine for "a-zA-Z" however it has strKeyName = null when the user types in a "-".
Why is this? And now can I get the dash. Looking for the mask that must be defaulting somewhere.
Thanks,
Evan
KeyUpHandler keyUpHandler = new KeyUpHandler() {
@Override
public void onKeyUp(KeyUpEvent event) {
String strKeyName = event.getKeyName();
handleTextItemKeyUp(strKeyName);
}
};
textItem.addKeyUpHandler(keyUpHandler);
Comment