共用方式為


SETERRMODE( ) Function

Specifies whether or not error messages from Fpole.dll are displayed in message boxes.

nSuccess = SETERRMODE(nErrMode)

Return Values

Integer

Parameters

  • nErrMode
    One of the following.
    Setting Description
    0 Error messages are not displayed in message boxes.
    1 (Default) Error messages are displayed in message boxes.

Remarks

Returns 0 if the mode was successfully set; -1 otherwise.

See Also

Fpole.dll | Fpole.dll Examples | FOXDOCMD( ) | FOXEVAL( ) | SETOLEOBJECT( ) | CLOSEIT( ) | GETLASTERR( )