2009-08-20 4 views
0

vb.net의 msgbox에 텍스트를 가운데에 맞출 수 있습니까?msgbox에 텍스트를 가운데에 맞출 수 있습니까?

이 (HTML에서 < 센터>과 유사)이 자신을 중심으로되지 않습니다

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") 
+4

메시지 대화 상자에서 눈을 모두 읽은 후 눈을 편안하게 볼 수 있습니까? – redsquare

답변

2

아니, 할 수 없다.

당신이 할 수있는 최선의 방법은 자신의 MessageBox 양식을 굴 리거나 간격을두고 가짜로 만드는 것입니다.

2

당신은 당신의 자신을 만들어야 할 것입니다 :

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를 사용하는 것과 같은 방식으로 호출 할 수 있습니다)

+0

한 번, VB6 앱을 프로그래밍 할 때 내 앱을 크래시하는 데 사용되는 기본 msgbox를 기억하고 나 자신의 msgbox를 만들고 모든 것이 정상적으로 처리되었습니다. –

관련 문제