IAdeUICallbacks::MsgBox

Revision as of 03:11, 27 October 2015 by Jhuawen (talk | contribs) (Created page with "* 1 = 确认 * 2 = 取消 * 3 = 终止 * 4 = 重试 * 5 = 忽略 * 6 = 是 * 7 = 否")

ADE User Guide > ADE Server Class Reference > IAdeUICallbacks

Other languages:
English • ‎中文

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

Called when the MsgBox() function is evaluated. You implement this method to display a message box or other feedback to your end-user.

参 数

«title»参数指明信息框的标题。

«text»是显示在信息框体里面的文本。

«buttons»参数有一下可能值。

  • 0 = 仅确认
  • 1 = 确认并取消[Default|默认]
  • 2 = 终止、重试和忽略
  • 3 = 是、否、和取消
  • 4 = 是和否
  • 5 = 重试和取消

which are then added to one of these values:

  • 0 = no icon
  • 16 = Critical
  • 32 = Question
  • 48 = Exclamation
  • 64 = Information

返回值

The return value indicates what button was pressed to terminate the message box, as follows:

  • 1 = 确认
  • 2 = 取消
  • 3 = 终止
  • 4 = 重试
  • 5 = 忽略
  • 6 = 是
  • 7 = 否

See Also

Comments


You are not allowed to post comments.