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.