Documentation Center

PassoloApp.DisplayAlerts

Defines the behaviour of message boxes during macro execution. DisplayAlerts can have one of these values

pslAlertsDefault (Value = 0) Message boxes are displayed, if the corresponding flag in the batch options is set.

pslAlertsNone (Value = 1) No message boxes are displayed. The macro continues execution with the default reply of the message box.

pslAlertsAll (Value = 2) All message boxes are displayed.

pslAlertsMessageBox (Value = 3) Only error message boxes are displayed

Syntax

Expression.DisplayAlerts as Long

Expression Required. Object of type PassoloApp

Example

' Always display message boxes
PSL.DisplayAlerts = pslAlertsAll