I’m testing some input entry for Simplified Chinese in the Listbox Keydown event. Problem is I don’t have a Chinese keyboard. I set the keyboard to Pinyin-Simplified and I can see you can get character substitution with prefix entry if you are in an edit field but I am capturing characters in the listbox keydown event and drawing them into a canvas so I can’t see a way to test that.
Would my app catch the characters from a Chinese keyboard and what ascii range would that be
If I want to accept letters and numbers and Chinese characters as input entry what would I add to the following which I thought might be on track but can’t test?
if (asc(uppercase(key)) > 64 and asc(uppercase(key)) < 91) or (Asc(key) > 48 and asc(key) <58) or (key >= &h4E00 And key <= &h9FFF) Then
3 posts - 2 participants