Partilhar via


QuietMode Property

Specifies whether the ReportListener may provide any user feedback or interface.

ReportListener.QuietMode [= lExpr]

Return Value

Logical data type.

The default value of QuietMode differs depending on how the Visual FoxPro session was started, as determined by the value of the _VFP.StartMode property. See StartMode Property for more information.

  • True, (.T.)
    User feedback is permitted. This value is default for a ReportListener object instantiated within an interactive Visual FoxPro session or in a distributable application (.app or .exe file).
  • False, (.F.)
    User feedback is not permitted. This value is default for a ReportListener object instantiated in an automation server.

Remarks

Applies To: ReportListener Object.

If you use NODIALOG on a LABEL or REPORT FORM command and the value of QuietMode is .F., the NODIALOG keyword takes precedence for this report run. The ReportListener sets QuietMode to .T. temporarily during the report run.

For information about when the native Report System components assigns this value in relation to other reporting events at the beginning and end of a report run, see Understanding Visual FoxPro Object-Assisted Reporting.

QuietMode takes precedence over the setting of AllowModalMessages, and affects the behavior of both DoStatus Method and DoMessage Methods. For more information about the ReportListener user feedback mechanisms, see AllowModalMessages Property.

See Also

Reference

DoMessage Method
DoStatus Method

Other Resources

Properties (Visual FoxPro)
Language Reference (Visual FoxPro)