WeibullDataSet.Question

Occurs when an answer to a question is required. Displays a message box with yes and no options.

Syntax
_Question(msg, Buttons, Answer)

Parameters
sMsg
 * Required. String. The message to display.

Buttons
 * Required. The buttons to display when calling Visual Basic's MsgBox function. Can be any MsgBoxStyle constant (see Microsoft's reference documentation for this enum).

Answer
 * Required. Indicates which button was pressed on a message box returned by Visual Basic's MsgBox function. Can be any MsgBoxResult constant (see Microsoft's reference documentation for this enum).

Example
The following example provides a simple demonstration on how to customize the event procedure. VBA wds WeibullDataSet Main wds = WeibullDataSet wds.UseEvents = True wds.AddFailure(100, 1) wds.Calculate Msgbox wds_Question( msg, _                           Buttons , _                           Answer ) MsgBox (msg, vbYesNoCancel)

VB.NET wds WeibullDataSet Main wds = WeibullDataSet wds.UseEvents = True wds.AddFailure(100, 1) wds.Calculate Msgbox wds_Question(msg, Buttons , _                           Answer )  wds.Question MsgBox (msg, vbYesNoCancel)