MsgBox Statement
འཕྲིན་དོན་ནང་ན་ཡོད་པའི་ཌའི་ལོག་སྒྲོམ་བཀྲམ་བཏོན་འབདཝ་ཨིན།
ཚིག་སྦྱོར:
འཕྲིན་དོན་སྒྲོམ་ཚིག་ཡིག་ ཡིག་རྒྱུན་སྦེ་ [,Type As Integer [,Dialogtitle As String]] (As Statement) ཡང་ན་འཕྲིན་དོན་སྒྲོམ (Text As String [,ཧྲིལ་ཨང་སྦེ་ཡིག་དཔར་རྐྱབས [,Dialogtitle As String]]) (As Function)
ཚད་བཟུང་:
Text: ཡིག་རྒྱུན་གསལ་བརྗོད་ཌའི་ལོག་སྒྲོམ་འདི་ནང་གི་འཕྲིན་དོན་བཟུམ་བཀྲམ་བཏོན་འབད་ཡོདཔ་ཨིན། གྱལ་དང་གཅིག་ཁར་ སིཨེཆ་ཨར$(13)བཙུགས་ཡོདཔ་ད་མཚམས་འབྱུངམ་ཨིན།
DialogTitle: ཡིག་རྒྱུན་གསལ་བརྗོད་ཌའི་ལོག་འདིའི་མགོ་མིང་ཕྲ་རིང་འདི་ནང་བཀྲམ་བཏོན་ཡོདཔ་ཨིན། སྐྱུར་བཞག་པ་ཅིན་ འཇུག་སྤྱོད་སོ་སོ་གི་མིང་འདི་མགོ་མིང་ཕྲ་རིང་གིས་བཀྲམ་བཏོནམ་ཨིན།
དབྱེ་བ: ཧྲིལ་ཨང་གསལ་བརྗོད་གང་རུང་འདི་ཌའི་ལོག་དབྱེ་བ་ དེ་བཟུམ་སྦེ་་ཨང་དང་་བཀྲམ་བཏོན་ཨེབ་རྟ་ཚུའི་དབྱེ་བ་ དང་ངོས་དཔར་དབྱེ་བ་འདི་གསལ་བཀོད་འབདཝ་ཨིན། དབྱེ་བ་ བིཊི་དཔེ་གཞི་ཚུའི་མཉམ་མཐུད་ ཁོང་རའི་གནས་གོང་་སོ་སོ་ཁ་སྐོང་འབད་འདི་གིས་རྒྱུ་རྫས་ཚུའི་ངེས་འཛིན་འབད་བཏུབ་པའི་མཉམ་མཐུད་འདི་ཁྱད་ཚབ་འབདཝ་ཨིན :
Named constant |
Integer value |
Definition |
MB_OK |
0 |
Display OK button only. |
MB_OKCANCEL |
1 |
Display OK and Cancel buttons. |
MB_ABORTRETRYCANCEL |
2 |
Display Abort, Retry, and Ignore buttons. |
MB_YESNOCANCEL |
3 |
Display Yes, No, and Cancel buttons. |
MB_YESNO |
4 |
Display Yes and No buttons. |
MB_RETRYCANCEL |
5 |
Display Retry and Cancel buttons. |
MB_ICONSTOP |
16 |
Add the Stop icon to the dialog. |
MB_ICONQUESTION |
32 |
Add the Question icon to the dialog. |
MB_ICONEXCLAMATION |
48 |
Add the Exclamation Point icon to the dialog. |
MB_ICONINFORMATION |
64 |
Add the Information icon to the dialog. |
|
128 |
First button in the dialog as default button. |
MB_DEFBUTTON2 |
256 |
Second button in the dialog as default button. |
MB_DEFBUTTON3 |
512 |
Third button in the dialog as default button. |
དཔེར་བརྗོད:
Sub ExampleMsgBox
ཀོནསིཊ་ ཨེསི་ཚིག་ཡིག་ ༡ = "རེ་བ་མེད་པའི་འཛོལ་བ་འབྱུང་ཡོདཔ།"
ཀོནསིཊི་ ཨེསི་ཚིག་ཡིག ༢ = "The program execution will continue, however."
ཀོནསིཊ་ ཨེསི་ཚིག་ཡིག་ ༣ = "འཛོལ་བ།"
MsgBox(sText1 + Chr(13) + sText2,16,sText3)
MsgBox(sText1 + Chr(13) + sText2, MB_ICONSTOP, sText3)
End Sub