PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • "Request for refreshing the display" event
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
Warning
From version 24, ExecuteUpdateUIParent is kept for backward compatibility. This function is replaced by ExecuteRefreshUIParent.
When called from the event "Request for refreshing the display" of a supercontrol, a control template, an internal window or an internal page, the function immediately runs the event "Request for refreshing the display" of the higher level. (This usually means the window, but it can also be a supercontrol, control template, internal window or internal page).
If the function is called several times during an event, the refresh event 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 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 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 WEBDEV sites in Linux.
Example
ExecuteRefreshUIParent()
Syntax
ExecuteRefreshUIParent([<Parameter 1> [... [, <Parameter N>]]])
<Parameter 1>: Type of value expected by the event "Request for refreshing the display"
First parameter that will be passed to the event "Request for refreshing the display" of the window or page.
<Parameter N>: Type of value expected by the event "Request for refreshing the display"
Nth parameter that will be passed to the event "Request for refreshing the display" of the window or page.
Remarks

"Request for refreshing the display" event

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