Traditional Culture Encyclopedia - Weather inquiry - How to add spaces and carriage returns in the TXT display box of VB?
How to add spaces and carriage returns in the TXT display box of VB?
You can use space () to represent spaces.
Line breaks and carriage returns can be vbcrlf.
TXT should be set to multi-line display.
Options? specific
Private? Sub? Command 1_Click()
Text 1。 Words? =? "Beijing"? & amp? Space (2)? & amp? "28 degrees" & amp? Space (2)? & amp? "clear" & amp? Space (2)? & amp? "Suitable for travel"? & amp? _
vbCrLf? & amp? Shanghai & Space (2)? & amp? "29 degrees" & amp? Space (2)? & amp? Rain & Space (2)? & amp? "Not suitable for travel"
End? Sub, if you have any questions, please ask them. If you are satisfied, please adopt them.
- Previous article:What is the ground temperature of 38 degrees?
- Next article:20 16. 10. 1 the weather in Zhongmou in five days.
- Related articles
- Talking about the coolness in autumn
- Looking for trout, happy song, fishing boat singing late, Carmen overture.
- Change the weather, change the season, and your face will be allergic. What to do?
- Classical Chinese 100-paragraph translation
- How to make double skin milk? Why not coagulate? !
- Eighth grade classical Chinese
- How to set the time, date and weather display of Huawei p40pro desktop?
- The windbreaker is the most elegant. What are the demonstrations of windbreaker wearing?
- How does the iphone6 drop-down menu display the weather forecast?
- Kneel down and beg that the number of words in A Letter to the Counselor should not be too much. 5 6 is OK. Thank you.