VB中 在一个框内设置了multiline 按下生成按钮后用Vbcrlf实现换行

2025-02-27 05:32:43
推荐回答(1个)
回答1:

可以将四个文本框做成控件组。代码如下
for i =0 to 4
if text1(i).text <>'' then
if ea.text <> "" then ea.text=ea.text & vbcrlf

ea.text=ea.text & text1(i).text

end if
next i