ALTADataSet.Message: Difference between revisions
Jump to navigation
Jump to search
Lisa Hacker (talk | contribs) No edit summary |
John Leavitt (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template:APIClass|ALTAEvents Class|ALTAEvents}} | {{Template:APIClass|ALTAEvents Class|ALTAEvents}} | ||
{{Template:ALTAEvents.Message.Cmt}} | |||
== Method Syntax == | == Method Syntax == | ||
Line 21: | Line 21: | ||
{{APIPrefix|As Boolean}} | {{APIPrefix|As Boolean}} | ||
{{APIName|)}}<br> | {{APIName|)}}<br> | ||
== Parameters == | == Parameters == |
Revision as of 18:23, 30 January 2014
Called by an ALTADataSet object when a message should be displayed. This displays a message.
Method Syntax
Message(
ByVal
sender
As
ALTADataSet,
ByVal
sMsg
As String
,
ByVal
AdditionalInfo
As String
,
ByVal
IsCritical
As Boolean
)
Parameters
sender An ALTADataSet 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 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)