IAdeUICallbacks::AskMsgText

Revision as of 01:08, 27 October 2015 by Jhuawen (talk | contribs) (Created page with "如果用户点击'''Cancel''', '''False''' ,将«bCancel»设定为'''True'''。'''True'''将导致当前计算终止。")

ADE User Guide > ADE Server Class Reference > IAdeUICallbacks

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将导致当前计算终止。

The return value for the function should be the text entered by the user.

示例

另请参考

Comments
Loading comments...