WeibullDataSet.Message: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
Display a message.
Display a message.


== Weibull Declaration  ==
== Method Syntax ==
 
{{APIPrefix|Public Overridable Sub}}
{{APIName|Message(}}
{{APIName|Message(}}
{{APIPrefix|ByVal}}
{{APIPrefix|ByVal}}

Revision as of 17:56, 18 September 2013



Display a message.

Method Syntax

Message( ByVal sender As WeibullDataSet, ByVal sMsg As String , ByVal AdditionalInfo As String , ByVal IsCritical As Boolean )

Called by ‘sender’ when a message should be displayed.

Parameters

sender An WeibullDataSet object

sMsg The main display label.

AdditionalInfo The remaining label.

IsCritical (This might be used to indicate which icon to display.)

Usage Example

Declare the WeibullEvents.
Declare the WeibullDataSet.
Note: The WeibullDataSet constructor already creates a new WeibullEvents, which could be used in place of WEvents in the example below.

       Dim WEvents as New WeibullEvents
       Dim WDS as New WeibullDataSet

Show a prompt with the respective strings.

       WEvents.Message(WDS, "Message1", "AdditionalInfo1", False)