This member of Class WaveLinkMessageBox is supported on Windows Mobile, Windows CE, Palm, and DOS.
The Display Method sends the error message to the device for display.
Syntax
public void Display(int timeOut)
throws WaveLinkError
public void Display(int timeOut, boolean showBox)
throws WaveLinkError
Parameters
timeOut |
The number of seconds to display the error |
showBox |
A boolean true or false value that indicates whether a border displays around the error message |
Throws
WaveLinkError
Remarks
For the timeOut parameter, pass a value of 0 to prompt the user to acknowledge the error.
For the showBox parameter, true value displays a border around the error message; a false value does not display the border.
Example
WaveLinkMessageBox messageIface = new WaveLinkMessageBox();
.
.
.
try {
messageIface.ClearMessage();
messageIface.SetMessageLine(" Please have ", 0);
messageIface.SetMessageLine(" customer sign ", 0);
messageIface.SetMessageLine("Work Order sheet", 0);
messageIface.Display(0);
}
catch (WaveLinkError wlErr) {
//Do error handling
}
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other