Home > database >  Input the data window, pb is there a way to get the state of the system input method?
Input the data window, pb is there a way to get the state of the system input method?

Time:10-14

Problems, such as the wubi input, if to spell a word of four letters, lost four, found that spelt wrong, press the backspace key, then can know im four letters are backspace away?
Because I the backspace key is a triggering event, if use the backspace key when the input method in the input, this kind of situation need to be excluded, must make a judgment,

CodePudding user response:

Estimate is more difficult to achieve, use the keyboard hook can catch, but content need your judgment, if using different input method, the content of the input is not necessarily the same, suggest don't realize, especially the backspace key to trigger events, can look for ways to achieve

CodePudding user response:

reference 1st floor lzp_lrp response:
estimate is more difficult to achieve, use the keyboard hook can catch, but content need your judgment, if using different input method, the content of the input is not necessarily the same, suggest don't realize, especially the backspace key to trigger events, can look for ways to achieve

As shown in figure:

I do is a typing speed program, the goal is to do which word wrong number can be displayed in the background or font color, if so, whether to use the data window or the text frame, a word can only account for a cell (I don't know is there any way to make a string of characters show different color), then you must set in the backspace backspace to a cell,
For this case, have a great god can help me, thank you!

CodePudding user response:

There is a stupid way, get a moving text box, where it moved to the corresponding position word play,
  • Related