IAdeUICallbacks::AskMsgNumber
ADE User Guide > ADE Server Class Reference > IAdeUICallbacks
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.
返回值
如果用户点击Cancel, False ,将«bCancel»设定为True。True将导致当前计算终止。
返回输入的数字。
另请参考
Comments
Enable comment auto-refresher