ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / HTML Display 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
Specifies the procedure to call if an error occurs while executing JavaScript code in an HTML Display control.
Example
HTMLOnErrorJS(HTM_Display, HTMLOnErrorJS_Callback)
INTERNAL PROCEDURE HTMLOnErrorJS_Callback()
Error(ErrorInfo())
END
Syntax
HTMLOnErrorJS(<HTML Display control> , <WLanguage procedure>)
<HTML Display control>: Control name
Name of the HTML Display control to use.
<WLanguage procedure>: Procedure name
WLanguage procedure ("callback") called when an error is encountered in the JavaScript code of the page. This procedure has the following format:
PROCEDURE <Procedure name>(sError is string)
where <sError> is a character string that corresponds to the JavaScript error encountered.
In the code of this procedure, ErrorInfo can be used to identify the error encountered.
Business / UI classification: UI Code
Component: wd290obj.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help