SET NOTIFY Command

Enables or disables the display of certain system messages. The following are examples of system messages affected by SET NOTIFY:

  • "Expression is valid" in the Expression Builder dialog box

  • "Do Canceled," which appears when program execution is canceled

SET NOTIFY [CURSOR] ON | OFF

Parameters

  • CURSOR
    Specifies whether data-related messages should appear in the status bar.

  • ON
    Enables the display of certain system messages. (Default)

  • OFF
    Disables the display of certain system messages.

Remarks

System messages display in the graphical, not character-based, status bar at the bottom of the main Visual FoxPro window.

When SET NOTIFY CURSOR is set to OFF, Visual FoxPro suppresses all data-related messages from displaying in the status bar. These messages include alias, data source, record pointer, record count and exclusive/record unlocked status.

The setting of SET NOTIFY CURSOR does not affect SET NOTIFY.

You can use SET("NOTIFY",1) to return the current value of SET NOTIFY CURSOR.

SET NOTIFY disables the display of messages that appear even if SET TALK is OFF.

See Also

Reference

SET MESSAGE Command

SET TALK Command

SET( ) Function

WAIT Command

UIEnable Event

SET Command Overview

Other Resources

Commands (Visual FoxPro)

Language Reference (Visual FoxPro)