WeibullDataSet.Message: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


== Method Syntax ==
== Method Syntax ==
{{APIName|Message(}}
{{APIName|'''Message'''(}}
{{APIPrefix|ByVal}}
{{APIPrefix|ByVal}}
{{APIName|sender}}
{{APIName|sender}}
Line 20: Line 20:
{{APIName|IsCritical}}
{{APIName|IsCritical}}
{{APIPrefix|As Boolean}}
{{APIPrefix|As Boolean}}
{{APIName|)}}
{{APIName|)}}<br>
 
{{APIComment|Called by ‘sender’ when a message should be displayed.}}
{{APIComment|Called by ‘sender’ when a message should be displayed.}}



Revision as of 15:46, 24 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)