WeibullDataSet.Message

From ReliaWiki
Revision as of 17:56, 18 September 2013 by Albert Szeto (talk | contribs)
Jump to navigation Jump to search



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)