Home > Back-end > Not achieve the refresh to add data richEdit/Memo?
Not achieve the refresh to add data richEdit/Memo?
Time:09-21
To write a small program reads a serial port, serial port to a large amount of data continuously added to the richEdit or memo for display in the In order to maintain the integrity of the original data, cannot use lines. The add function, because will add a carriage return, so have been use Richedit. Text=richedit. Texts + $STR way, each additional STR, richedit will refresh time, flash screen, particularly uncomfortable Consult everybody a great god, how can not refresh richedit/memo to increase data
CodePudding user response:
The screen refresh is necessary, otherwise the, incomplete, and this is automatically refresh, If you want to force refresh, try closing news,
Suggest you use the background characters, and processing, only 10 seconds or a minute on the desktop, refresh (to join the background character) is used to display at a time,