Enables or disables the Abort or the Continue button in the ATEasy Control Dialog.
[ nStatus = ] EnableAbortPause ( nAbort, nPause )
The EnableAbortPause procedure syntax has the following parts:
Name |
Type |
Description |
nStatus |
Short |
Status |
nAbort |
Val Short |
Enable/disable the Abort button |
nPause |
Val Short |
Enable/disable the Pause button |
Important: This command is unsupported, and was defined for compatibility with ATEasy 2.
The nAbort and nPause can be TRUE (for enable) or FALSE (for disable).
The function also grays the corresponding buttons in the ATEasy Control Dialog. Use this function after debugging is complete, since disabling both buttons precludes the user from stopping the program. This function works in DOIT! and LOOPIT! modes.
EnableAbortPause(FALSE, TRUE)
! Now the user cannot use the Pause key