By byoy (conmajia@gmail.com)
Time: May, 2012
Cover pictures are original in byoy; Do not reference them without permission
Nobi's LCM display field LCD module control
Download
Demo
Download source code
Note! It is best to set the properties in the load event at run-time. I don't know why, the design-time attribute seems to be correct, and it will be restored as soon as it is run. As for the usage method, the text attribute is constantly modified. (Note that short strings cannot overwrite long strings. For example, if you set text = "I like money" (12) for the first time ), the second time is changed to text = "I like $" (8), the extra four characters will not be overwritten and will be displayed
"I like $ oney" (12 ). (This feature is exactly the same as the hardware. It is the result of a-1 shopping spree. There are two solutions. The first is to call the clear () method before modifying the text, and the second is to overwrite the strings with a few extra spaces, TEXT = "I like $ [space] [space] [space] [space]" (12 ).
----------------- Field break line ----------
If you do not have this in your company, you can use it in the product. I believe it will make the product look more professional.
Don't thank me. just invite me to dinner (joke, don't be serious, be careful with the boss)
The world outside is wonderful, and the world on the computer is too monotonous.
Multi-sport and multi-run
Enter the subject
First, I would like to ask you a question: Generally, your program needs to display some frequently changed texts. How do you do this?
For example, we need a status bar. After the status bar is started, "Ready..." is displayed to the user ...」
Use a label?
And so on. Changing the font?
Well, it seems very common. Add some color.
Omg... This color reminds me of something called an LCD screen. It's not a computer monitor, but these boys.
So, the program should be like this.
Continue to transform and make it a 1:1 imitation LCD screen, just like this.
Let's try it!
The upper part is used to design 5x8 lattice characters. The text box outputs the character data used by the single-chip microcomputer. If you do not play the single-chip microcomputer, you can ignore it completely.
(Full text)