Difference between revisions of "IAdeUICallbacks::AskMsgComboBox"

(Created page with "<< Back to IAdeUICallbacks = string IAdeUICallbacks::AskMsgComboBox(([in] string question, [in] string title, [in] array<string> optionList, [in] stri...")
 
m
Line 15: Line 15:
 
* «bShowAll»: a Boolean indicating whether the '''All''' selection should be shown as an option.
 
* «bShowAll»: a Boolean indicating whether the '''All''' selection should be shown as an option.
  
= Examples =
+
 
  
 
== Return value ==
 
== Return value ==
Line 22: Line 22:
  
 
Set «bCancel» to '''True''' if the user presses '''Cancel''', '''False''' otherwise. '''True''' will cause the current computation to be aborted.
 
Set «bCancel» to '''True''' if the user presses '''Cancel''', '''False''' otherwise. '''True''' will cause the current computation to be aborted.
 +
 +
= Examples =
  
 
= See Also =
 
= See Also =

Revision as of 18:10, 12 May 2015

<< Back to 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.

Parameters

  • «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.


Return value

The text entered or selected by the user.

Set «bCancel» to True if the user presses Cancel, False otherwise. True will cause the current computation to be aborted.

Examples

See Also

Comments


You are not allowed to post comments.