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.