是否可以将文本置于vb.net的msgbox中? (类似于html中的< center>)
这不是自己的中心:
MsgBox("Thank you for using Eyes At Ease" & Chr(153) & vbCrLf & _
"You can always access this screen by clicking on the icon in your taskbar" & vbCrLf & _
"To adjust the Hue and Saturation of the screen, please drag the bars" & vbCrLf & _
"You can also choose any color by clicking on CHOOSE and selecting a color" & vbCrLf & _
"If you like the color you are currently use it and want to save it, you can click on ADD COLOR" & vbCrLf & _
"The program will automatically start with the last colored you used", , "Eyes At Ease")
它不是没有换行的中心:
MsgBox("Thank you for using Eyes At Ease" & Chr(153) & _
"You can always access this screen by clicking on the icon in your taskbar" & _
"To adjust the Hue and Saturation of the screen, please drag the bars" & _
"You can also choose any color by clicking on CHOOSE and selecting a color" & _
"If you like the color you are currently use it and want to save it, you can click on ADD COLOR" & _
"The program will automatically start with the last colored you used", , "Eyes At Ease")
答案 0 :(得分:2)
你必须创建一个自己的表单,看起来像一个消息框,你可以在其中居中文本,然后从自定义函数打开它(然后你可以像使用MsgBox一样调用它)
答案 1 :(得分:2)
您可以做的最好的事情就是滚动自己的MessageBox表单,或者用间距伪造它。