|
In fact, this problem can not only be applied to the hexadecimal system, but the master can do this. Set rules for each input in the text box. When the input character meets this rule, the character will be accepted. If it does not meet this rule One-bit rules will not be accepted.
================================================= ==================================
Well, it is to accept first, and then judge, if it is not satisfied, reset the control, it should not be troublesome, but pay attention to the processing if double-byte input |
|