This member of Class WaveLinkMessageBox is supported on Windows Mobile, Windows CE, Palm, and DOS.
The SetMessageLine Method adds an error line string to the current error message.
Syntax
public void SetMessageLine(String msgLine, int lineNumber)
throws WaveLinkError
Parameters
msgLine |
The display text for the message line |
lineNumber |
The zero-based index value of the error line to be added |
Throws
WaveLinkError
Remarks
The first message line in the list is indexed as zero. For example, to set the message line as the third line in the current WaveLinkMessageBox object, you pass a 2.
Once defined, a message remains within a WaveLinkMessageBox object until either the object is released, a new message is defined over an existing line of message using the SetMessageLine Method, or all message lines are cleared using ClearMessage Method.
This allows you to modify a single object for each message in the application instead of creating a new messagebox object for each individual message.
Example
See the Display Method
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other