ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Web-specific functions / Miscellaneous WEBDEV functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 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 (for more details, see JSEvent ).
<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.
Component: WDJS.DLL
Minimum version required
  • Version 15
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help