IAdeUICallbacks::AskMsgComboBox
ADE User Guide > ADE Server Class Reference > IAdeUICallbacks
string IAdeUICallbacks::AskMsgComboBox([in] string question, [in] string title, [in] array<string> optionList, [in] string defaultText, [in] bool bShowAll, [out] bool * bCancel)
Called when the AskMsgChoice() function is evaluated, and a combo box is requested (the «comboBox» parameter is true).
You implement this method to display a user-interface element that displays a question and allows the user to enter a line of text, with a list of possible suggestions provided.
参 数
- «question»: 显示给用户看的问题
- «title»:显示的对话窗口的标题
- «optionList»:要显示的选项列表。
- «defaultText»:最初显示的默认文本。
- «bPassword»:一个布尔值:指明All:所有选择是否将作为一个选项。
返回值
由用户输入或者选择的文本。
如果用户点击Cancel, False ,将«bCancel»设定为True。True将导致当前计算终止。
示例
另请参考
Comments
Enable comment auto-refresher