sethistoryviewlevel_set_error_history_viewing_mode_.htm
Navigation: ABC Library Reference > ErrorClass > ErrorClass Methods >====== SetHistoryViewLevel (set error history viewing mode) ====== | |
SetHistoryViewLevel( errorlevel )
SetHistoryViewLevel | Specifies the error level to trigger error history. |
Errorlevel | An integer constant, variable, EQUATE, or expression that sets the current error level of error history. |
SetHistoryViewLevel sets the value of the ErrorClass HistoryViewLevel private property.
The errorlevel value sets the error level for viewing error history. The errorlevel value is only valid if the HistoryThreshold property is set to any value other than 0. Valid errorlevels are as follows:
Level:Benign | no action, returns Level:Benign |
Level:User | displays message, returns Level:Benign or Level:Cancel |
Level:Notify | displays message, returns Level:Benign |
Level:Fatal | displays message, halts the program |
Level:Program | treated as Level:Fatal |
Level:Cancel | used to confirm no action taken by User |
Activating this property will pop up a list box of error messages when the designated error level is posted.
See Also: GetHistoryViewLevel
sethistoryviewlevel_set_error_history_viewing_mode_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1