ALTADataSet.Message: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
Parameters | Parameters | ||
:''sender'': | :''sender'': An ALTADataSet object | ||
:''sMsg'': The main display label. | :''sMsg'': The main display label. |
Revision as of 20:59, 26 February 2014
Called by an ALTADataSet object when a message should be displayed. This displays a message.
Syntax
- Message( sender As ALTADataSet, sMsg As String , AdditionalInfo As String , IsCritical As Boolean )
Parameters
- sender: An ALTADataSet object
- sMsg: The main display label.
- AdditionalInfo: The remaining label.
- IsCritical: Indicates whether the message displayed is critical.
Usage Example
Declare the ALTAEvents.
Declare the ALTADataSet.
Note: The ALTADataSet constructor already creates a new ALTAEvents, which could be used in place of AEvents in the example below.
Dim AEvents as New ALTAEvents Dim ADS as New ALTADataSet
Show a prompt with the respective strings.
AEvents.Message(ADS, "Message1", "AdditionalInfo1", False)