WeibullDataSet.Question

Called by 'sender' when an answer to the question is required. Displays a prompt and returns the result.

Syntax
Question(



Parameters
 * sender: A WeibullDataSet object.


 * sMsg: The main display label.


 * Buttons: The MsgBoxStyle that determines the number and display of the buttons. See MsgBoxStyle for additional details.


 * Answer: The MsgBoxResult that is returned by the prompt. See MsgBoxResult for additional details.

Usage Example
Private Class myEvents Inherits WeibullEvents Public Overrides Sub Question(sender As SynthesisAPI.WeibullDataSet, sMsg As String, Buttons As MsgBoxStyle, ByRef Answer As MsgBoxResult) MyBase.Question(sender, sMsg, Buttons, Answer) MessageBox.Show("Additional overridden code here.") End Sub End Class

Dim WDS as New WeibullDataSet

WDS.Events = New myEvents

Dim MsgBoxStyle1 as MsgBoxStyle = MsgBoxStyle.OkCancel Dim MsgBoxResult1 as MsgBoxResult

WDS.Events.Question(WDS, "Question1", MsgBoxStyle1, MsgBoxResult1)