RFERROR.Display

boolean Display(short nTimeout)

Function Display(nTimeout As Integer) As Boolean

Sends the array to the client and displays it (plays the "error" tone if it exists).

Return value
True=Successful, False=error (link lost).

Parameters

nTimeout
    Display time in seconds or 0 to wait for user keyboard input (CLR).

Remarks
The function plays the "ERROR" tone, stored by WSPM or by the RFTONE.StoreTone() method.
The function uses the default Button Pad "_Error" (WCE only).

Example
Public wsRfError As New RFERROR
...
wsRfError.ClearError    ' Clean any previous error message
wsRfError.SetErrorLine " User Error ", 0
wsRfError.SetErrorLine " Message ", 1
wsRfError.Display 0     ' No time-out, CLR by user

See also     RFERROR, RFTONE, SetToneDefault, StoreTone, RFBUTTON