PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Interrupts the process of current event.
The current process is the specific WLanguage procedure that was associated with the event by JSEvent.
Example
// Intercepts all the clicks on the page
JSInterruptEvent(sJSEvent, jsInterruptEventAction)
Syntax
JSInterruptEvent(<Event> [, <Options>])
<Event>: Character string
Current event that must be interrupted.
This is the parameter received by the procedure (see JSEvent for more details).
<Options>: Optional combination of Integer constants
Indicates the interruption level.
If no constant is specified, the current procedure is interrupted.
The possible constants are:
jsInterruptEventActionThe browser action associated with the event is canceled in addition to the interruption of current procedure. For example, if the current event is a click in a check box, changing the status of check box is canceled.
jsInterruptEventPropagationThe propagation of the event is interrupted in addition to the interruption of current procedure. If other procedures are associated with the same event on the same object, these procedures will still be called.
Remarks
JSInterruptEvent can only be used in a WLanguage procedure processing events declared by using JSEvent.
Components
WEBDEV - Browser code WDJS.DLL
Minimum required version
  • Version 15
Comments
Click [Add] to post a comment