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
When the code is overloaded, used to run the process of template corresponding to the process of current control.
For example:
Run the process of template
Syntax
ExecuteAncestor()
Remarks
ExecuteAncestor is automatically inserted into the code in case of code overload for a template control. This function can be moved or removed from the code.
If a process exists in the template window, this process appears twice in the window that uses the template. Indeed, the following elements are displayed:
  • the process issued from the template. This process appears in gray and its caption is followed by "(<Template Name> template)".
  • the process of the window/page.
This function should not be used in processes associated with the window or page (initialization code, opening code, closing code, ...), because the code of ancestors is automatically run in a specific order. The code entered in the page process will be run as follows:
  • the declaration process of the global variables is merged between the template and the page/window that uses the template. Therefore, no variable with the same name must be used in this process.
  • for all the processes (except the one closing the page/window): the processes of the templates applied to the page/window are run according to their order of inclusion, then the process corresponding to the page/window is run.
  • for the closing process of the page/window: the closing process of page/window is run, then the processes of templates applied to the page/window are run in reverse order of inclusion.
Components
WINDEVWEBDEV - Server code wd230.dll
Windows Mobile wp230.dll
WEBDEV - Browser code WDJS.DLL
Java wd230java.jar
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment