Examples: QueryRecalc event

This QueryRecalc event discontinues a recalculation of the view if the user responds no.

(Globals) (Declarations)
%INCLUDE "lsconst.lss"
Sub Queryrecalc(Source As Notesuiview, Continue As Variant)
  If Messagebox ("Do you really want to recalc?", _
  MB_YESNO + MB_ICONQUESTION, _
  "Recalc operation") = IDNO Then
    Continue = False
  End If
End Sub