However, there is a problem is very depressed, for example, I wrote the following code:
Private Sub RichTextBox1_Change ()
Label1. Caption=RichTextBox1. Text
End Sub
In general, the text and on the Label1 RichText words, every play a word become a,
This problem is appear under use wubi input method:
, when the input aqaq prompt box is "1. 2. The grapes just", then if still play other letters, such as b, under normal circumstances, "grapes" two characters will screen at the meeting, and b also appeared and tip into "a" (wubi b=), however, as long as add read RichTextBox1 in Change event. The Text of the code, type b, though "grape" word on the screen, at the same time b letters will be gone,
This phenomenon is referred to as the "lost 5 yards," some people this phenomenon who can help me to solve?
Supplement, write code that's no problem in the Change event, such as to set a few word color, etc., are no problem, but as long as they use RichTextBox1. The Text is,
And another one other question: sometimes small keyboard playing digital, can number on screen, but not trigger Change event, what's the matter?
CodePudding user response:
This caused by a "control" of the problem, I'm afraid I can't solve from the code,What you said "missing 5 yards," I tried here is really will,
But with the TextBox is not the problem in the standard controls,
But "can figure on the screen, but I do not trigger a Change event",
I don't have it here, is to be able to trigger the Change () event,
You carefully check your code, this event with "where the input is" it doesn't matter,
Using program statements Change its Text Text content, will trigger a Change event,
CodePudding user response:
Upstairs is shine?Don't know in the use of VC RichEdit (1.0 or 2.0) for this problem, in addition, I think can be solved in VB, whether or not, there is a software, called "yi the typing", using SPY++ and Depends Chad is using VB to do it, it's input box is RichText, it can be in the process of judgment of right and wrong words (words) and the control bar, it must also use the RichTextBox1. Text, but it did not "lose 5 yards" phenomenon, I am writing to ask the author, he ignored me,
Upstairs if you are interested, you can download the "yi the typing on" see, I download and upload here
http://at01.cn/download/yiguo.rar, select "post practice" to try to effect, (remember to select input method software)
My program to http://at01.cn/download/dz.rar here, also ask an expert to you see!
CodePudding user response:
No,Shine hasn't appeared for several years,
His account is chenhui530,
CodePudding user response:
Indeed as expected is VB6 program,But don't know that he is how to implement "avoid the loss of 5 yards" processing,
Software with the RICHTX32. Ocx is the version of the controls, VB6 with
CodePudding user response:
I don't even think he purposely do processing, inadvertently to avoid the "lost 5 yards" situation,Upstairs brother is superior, I invite you to join my VB group? This group created for ten years, all kinds of friends are, shine after a period of time inside out,
VB group no. 200452312
CodePudding user response:
RICHTX32. Ocx seems to Unicode version or English version and Chinese version,CodePudding user response:
The problem in delay for more than a year, has not been solved, which master can help to solve, is willing to send distribution of silver!!CodePudding user response:
Just built a standard EXE engineering to try, no problem,The operating system is the same, just reinstall,
Input method is not the same, in the 1/f test, reply, used wubi "pole" at that time, use the input method is Chen intelligent bridge 7.9 now,
At the end of September, 2017, in the hard disk, reinstall the system, install only the Chen intelligent bridge, other input method is useless,
(the system is done with the same Ghost image file to install: Windows 7 ultimate/SP164)
CodePudding user response:
The old input method can automatically adapt to the new control system?CodePudding user response:
This also has relationship with input method software, using intelligent wubi (bridge)CodePudding user response:
Chinese character input method "intercept" we actually for input text box, when it is the result of the accumulated many keystrokes, to transform it from Chinese character coding to text boxes,To solve this problem, may need to be made with the keyboard information, as appropriate to the situation to deal with,