IAdeUICallbacks::AskMsgText

Revision as of 01:09, 27 October 2015 by Jhuawen (talk | contribs) (Created page with "函数的返回值应该是由用户输入的文本。")

ADE User Guide > ADE Server Class Reference > IAdeUICallbacks

Other languages:
English • ‎中文

string IAdeUICallbacks:: AskMsgText([in] string question, [in] string title, [in] long maxText, [in] string defaultText, [in] bool bPassword, [out] bool* bCancel)

Called when the AskMsgText() function is evaluated. You implement this method to display a user-interface element that displays a question and allows the user to enter some text.

参 数

  • «question»: the question to show the user
  • «title»: the caption for the dialog shown
  • «maxText»: the maximum number of characters allowed in the response
  • «defaultText»: The default, or initial text to show in the dialog.
  • «bPassword»: a Boolean indicating whether this is a password entry. When true, your input should display a block character such as ● in place of the characters being entered.

返回值

如果用户点击Cancel, False ,将«bCancel»设定为TrueTrue将导致当前计算终止。

函数的返回值应该是由用户输入的文本。

示例

另请参考

Comments


You are not allowed to post comments.