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»: the question to show the user
- «title»: the caption for the dialog shown
- «optionList»: The list of options to display.
- «defaultText»: The default text shown initially.
- «bShowAll»: a Boolean indicating whether the All selection should be shown as an option.
返回值
由用户输入或者选择的文本。
如果用户点击Cancel, False ,将«bCancel»设定为True。True将导致当前计算终止。
Examples
See Also
Comments
Enable comment auto-refresher