IAdeUICallbacks::AskMsgComboBox

Revision as of 01:48, 27 October 2015 by Jhuawen (talk | contribs) (Created page with "= 另请参考 =")

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)

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»设定为TrueTrue将导致当前计算终止。

示例

另请参考

Comments


You are not allowed to post comments.