IAdeUICallbacks::AskMsgComboBox

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

ADE User Guide > ADE Server Class Reference > IAdeUICallbacks

Other languages:
English • ‎中文

string IAdeUICallbacks::AskMsgComboBox([in] string question, [in] string title, [in] array<string> optionList, [in] string defaultText, [in] bool bShowAll, [out] bool * bCancel)

在计算AskMsgChoice()函数时调用,需要一个combo box(组合框,«comboBox»参数值为ture)。

通过执行该方法显示一个用户界面元素:显示一个问题,允许用户输入文本内容,并提供一个建议列表。

参 数

  • «question»: 显示给用户看的问题
  • «title»:显示的对话窗口的标题
  • «optionList»:要显示的选项列表。
  • «defaultText»:最初显示的默认文本。
  • «bPassword»:一个布尔值:指明All:所有选择是否将作为一个选项。


返回值

由用户输入或者选择的文本。

如果用户点击Cancel, False ,将«bCancel»设定为TrueTrue将导致当前计算终止。

示例

另请参考

Comments


You are not allowed to post comments.