PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • "Request for refreshing the display" process
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
This function, which is called from the process "Request for refreshing the display" of a supercontrol, control template, internal window or internal page, immediately executes the process "Request for refreshing the display" on the upper level (generally the window, but it can also be a supercontrol, a control template an internal window or internal page).
If the function is called several times during an event, the update process will be run several times.
Note: This function is mainly used:
Versions 24 and later
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
New in version 24
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
Example
ExecuteUpdateUIParent()
Syntax
ExecuteUpdateUIParent([ <Parameter 1> [ , <Parameter 2> [ , ... ]]])
<Parameter 1>: Type of value expected by the "Request for refreshing the display" process
First parameter that will be passed to the "Request for refreshing the display" process of the window or page.
<Parameter 2>: Type of value expected by the "Request for refreshing the display" process
Second parameter that will be passed to the process "Request for refreshing the display" of the window or page.
Remarks

"Request for refreshing the display" process

One of the processes associated with the windows, internal windows, pages, page templates, control templates and supercontrols is "Request for refreshing the display". This process is used to group the code for updating controls: content of controls, status (visible, grayed, ...), static to update, ...
This process may expect parameters. All you have to do is declare a procedure in the process. For example:
// Request for refreshing the display
PROCÉDURE AskForRefresh(RefreshType is boolean)
This process is started upon request by the following functions:
  • RequestUpdateUI: Runs the process at the end of current process (asynchronous execution).
  • ExecuteUpdateUI: Runs the process immediately.
  • RequestUpdateUIParent: Runs the process of higher level at the end of current process (asynchronous execution).
  • ExecuteUpdateUIParent: Immediately runs the process of higher level.
During the call to these functions, you have the ability to specify the value of parameters expected by the process.
Note: The "Request for refreshing the display" process can also be immediately run by ExecuteProcess with the following syntax:
ExecuteProcess(<Element name>, trtRequestUpdate)
Component : wd240vm.dll
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment