IAdeUICallbacks::AskMsgNumber

ADE User Guide > ADE Server Class Reference > IAdeUICallbacks

Other languages:
English • ‎中文

double IAdeUICallbacks:: AskMsgNumber([in] string question, [in] BSTR title, [in] bool bShowDefault, [in] double defaultNumber, [out] bool* bCancel)

Called when the AskMsgNumber() 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.

Parameters

  • «question»: the question to show the user
  • «title»: the caption for the dialog shown
  • «bShowDefault»: whether the default value should be shown initially.
  • «defaultNumber»: The default or initial value, and value to return if nothing is entered.

Return values

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

The number entered is returned.

See Also

Comments


You are not allowed to post comments.