Purpose

.DisableInterrupt allows you to specify whether the <Break> key interrupt will be recognised.  This is only available for the Application Object Type.
 

Syntax

Setting:           Application.DisableInterrupt = Value

Retrieving:       Variable = Application.DisableInterrupt
 

Operation

Value is the setting for the property (TRUE or 1 = Disabled, FALSE or 0 = Enabled)
Variable
is a numeric variable
 

Remarks

If the value of this property is TRUE and the <Break> key is pressed, the interrupt is ignored and the "Interrupt Ignored" message appears on the Windows Client’s status line.

Once set to TRUE the <Break> key will be disabled until its value is set to FALSE or a PROIV logout and login has been performed.
 

Example

To disable the <Break> key:

Application.DisableInterrupt = TRUE


To enable the <Break> key: Application.DisableInterrupt = FALSE


To retrieve the value (either 0 or 1) of Application.DisableInterrupt:

#INHIBIT_BREAKKEY = Application.DisableInterrupt
 

Comment on this topic

Topic ID: 510051