发布网友 发布时间:2022-04-24 01:07
共6个回答
热心网友 时间:2023-10-17 08:10
我试过可以的,在vbcrlf后面再加& 再加要添加的内容就自动换行了··
Private Sub Form_Load()
a = "jjjj"
b = "kkkk"
c = "jijiji"
Label1.Caption = a & " + " & b & " + " & c & " + " & d & vbCrLf & "huhuh"
End Sub
热心网友 时间:2023-10-17 08:10
Form1.Label4.Caption = Form1.Label4.Caption & a & " + " & b & " + " & c & " + " & d & vbCrLf热心网友 时间:2023-10-17 08:11
Form1.Label4.Caption=Form1.Label4.Caption & chr(13) & chr(10) & a & " + " & b & " + " & c & " + " & d热心网友 时间:2023-10-17 08:11
Form1.Label4.Caption = vbNewLine & a & " + " & b & " + " & c & " + " & d热心网友 时间:2023-10-17 08:12
要换行的地方加 chr(13)热心网友 时间:2023-10-17 08:13
chr(13) & chr(10)热心网友 时间:2023-10-17 08:10
我试过可以的,在vbcrlf后面再加& 再加要添加的内容就自动换行了··
Private Sub Form_Load()
a = "jjjj"
b = "kkkk"
c = "jijiji"
Label1.Caption = a & " + " & b & " + " & c & " + " & d & vbCrLf & "huhuh"
End Sub
热心网友 时间:2023-10-17 08:10
Form1.Label4.Caption = Form1.Label4.Caption & a & " + " & b & " + " & c & " + " & d & vbCrLf热心网友 时间:2023-10-17 08:11
Form1.Label4.Caption=Form1.Label4.Caption & chr(13) & chr(10) & a & " + " & b & " + " & c & " + " & d热心网友 时间:2023-10-17 08:11
Form1.Label4.Caption = vbNewLine & a & " + " & b & " + " & c & " + " & d热心网友 时间:2023-10-17 08:12
要换行的地方加 chr(13)热心网友 时间:2023-10-17 08:13
chr(13) & chr(10)