IAdeUICallbacks::MsgBox

This page is a translated version of the page IAdeUICallbacks::MsgBox and the translation is 100% complete.

ADE User Guide > ADE Server Class Reference > IAdeUICallbacks

Other languages:
English • ‎中文

long IAdeUICallbacks::MsgBox(string title, string text, long buttons)

在計算MsgBox()函數時調用。你可以通過執行該方法給你的終端用戶顯示一個信息窗口或者其它反饋。

參 數

«title»參數指明信息框的標題。

«text»是顯示在信息框體裡面的文本。

«buttons»參數有一下可能值。

  • 0 = 僅確認
  • 1 = 確認並取消[Default|默認]
  • 2 = 終止、重試和忽略
  • 3 = 是、否、和取消
  • 4 = 是和否
  • 5 = 重試和取消

該參數然後將添加到以下這些值:

  • 0 = no icon(無圖標)
  • 16 = Critical(關鍵)
  • 32 = Question(提問)
  • 48 = Exclamation(感嘆號)
  • 64 = Information(信息)

返回值

返回值表面將按下什麼按鈕來結束信息窗口,如下所示:

  • 1 = 確認
  • 2 = 取消
  • 3 = 終止
  • 4 = 重試
  • 5 = 忽略
  • 6 = 是
  • 7 = 否

另請參考

Comments


You are not allowed to post comments.