IAdeUICallbacks::AskMsgNumber

Revision as of 02:04, 27 October 2015 by Jhuawen (talk | contribs) (Created page with "== 返回值 ==")

ADE User Guide > ADE Server Class Reference > IAdeUICallbacks

Other languages:
English • ‎中文

double IAdeUICallbacks:: AskMsgNumber([in] string question, [in] BSTR title, [in] bool bShowDefault, [in] double defaultNumber, [out] bool* bCancel)

在计算AskMsgNumber()函数时调用。通过执行此方法显示用户界面元素:显示一个问题,允许用户输入文本。

参 数

  • «question»: the question to show the user
  • «title»: the caption for the dialog shown
  • «bShowDefault»: whether the default value should be shown initially.
  • «defaultNumber»: The default or initial value, and value to return if nothing is entered.

返回值

Set «bCancel» to True if the user presses Cancel, False otherwise. True will cause the current computation to be aborted.

The number entered is returned.

See Also

Comments


You are not allowed to post comments.